mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This reverts commit 0dab1634b0.
This commit is contained in:
@@ -99,9 +99,6 @@ function positioningWorkaround($fixedElement) {
|
||||
positioningWorkaround.blur = function (evt) {
|
||||
if (workaroundActive) {
|
||||
document.body.classList.remove("ios-safari-composer-hacks");
|
||||
if (caps.isIOS15Safari) {
|
||||
document.body.classList.remove("ios-safari-15-hack");
|
||||
}
|
||||
window.scrollTo(0, originalScrollTop);
|
||||
|
||||
if (evt && evt.target) {
|
||||
@@ -192,9 +189,6 @@ function positioningWorkaround($fixedElement) {
|
||||
}
|
||||
|
||||
document.body.classList.add("ios-safari-composer-hacks");
|
||||
if (caps.isIOS15Safari) {
|
||||
document.body.classList.add("ios-safari-15-hack");
|
||||
}
|
||||
window.scrollTo(0, 0);
|
||||
|
||||
if (!iOSWithVisualViewport()) {
|
||||
|
||||
@@ -43,11 +43,6 @@ export default {
|
||||
(/iPhone|iPod/.test(navigator.userAgent) || caps.isIpadOS) &&
|
||||
!window.MSStream;
|
||||
|
||||
caps.isIOS15Safari =
|
||||
caps.isIOS &&
|
||||
/Version\/15/.test(navigator.userAgent) &&
|
||||
!/DiscourseHub/.test(navigator.userAgent);
|
||||
|
||||
caps.hasContactPicker =
|
||||
"contacts" in navigator && "ContactsManager" in window;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user