diff options
| author | stoned <Tukz@gmx.de> | 2024-08-16 22:31:22 +0200 |
|---|---|---|
| committer | stoned <Tukz@gmx.de> | 2024-08-16 22:31:22 +0200 |
| commit | ee56db55a90cc1f2a216b6076d88df8c0ca71053 (patch) | |
| tree | d505da139437878035505bf6f3ae1529adc44a58 | |
| parent | 20888d8dcffbd3e990c95b222d5f0604e9c6431b (diff) | |
no magic numbers
| -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) => { |
