summaryrefslogtreecommitdiffstats
path: root/core/src/init.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/init.js')
-rw-r--r--core/src/init.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/init.js b/core/src/init.js
index 487114051ae..ae8db0abf49 100644
--- a/core/src/init.js
+++ b/core/src/init.js
@@ -36,7 +36,8 @@ import { setUp as setUpMainMenu } from './components/MainMenu'
import { setUp as setUpUserMenu } from './components/UserMenu'
import PasswordConfirmation from './OC/password-confirmation'
-const breakpointMobileWidth = getComputedStyle(document.documentElement).getPropertyValue('--breakpoint-mobile')
+// keep in sync with core/css/variables.scss
+const breakpointMobileWidth = 1024
const initLiveTimestamps = () => {
// Update live timestamps every 30 seconds