summaryrefslogtreecommitdiff
path: root/web/share/js/wm.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/wm.js')
-rw-r--r--web/share/js/wm.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/share/js/wm.js b/web/share/js/wm.js
index 791ab36b..fd26c730 100644
--- a/web/share/js/wm.js
+++ b/web/share/js/wm.js
@@ -362,6 +362,12 @@ function __WindowManager() {
var __organizeWindowsOnBrowserResize = function() {
for (let el_window of $$("window")) {
if (el_window.style.visibility === "visible") {
+ if (tools.browser.is_ios && el_window.classList.contains("window-resizable")) {
+ // FIXME: При смене ориентации на мобильном браузере надо сбрасывать
+ // настройки окна стрима, поэтому тут стоит вот этот костыль
+ el_window.style.width = "";
+ el_window.style.height = "";
+ }
__organizeWindow(el_window);
}
}