From aa85e1c2afccdd210fdeeda3bae1999f9a62c15c Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Wed, 31 Aug 2022 14:36:20 +0200 Subject: Fix jsunit failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/src/init.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/src/init.js') 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 -- cgit v1.2.3