diff options
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/ui.js b/webAO/ui.js index 144270b..62d47ef 100644 --- a/webAO/ui.js +++ b/webAO/ui.js @@ -147,7 +147,7 @@ const configMobile = { } -const isMobileDevice = window.innerWidth <= 768; +const isMobileDevice = window.innerWidth <= window.innerHeight; const golden = new GoldenLayout(); golden.registerComponentFactoryFunction('template', (container, componentState) => { |
