From c6778bd2510b8ccef490531bca3e0aba996960d4 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Fri, 20 Oct 2023 18:47:39 +0200 Subject: [PATCH] potential fix for nav menu bug on webkit --- src/webapp/main/src/views/admin/AdminView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webapp/main/src/views/admin/AdminView.vue b/src/webapp/main/src/views/admin/AdminView.vue index 0c963d9..26985a5 100644 --- a/src/webapp/main/src/views/admin/AdminView.vue +++ b/src/webapp/main/src/views/admin/AdminView.vue @@ -233,7 +233,7 @@ export default { } }, navMenu ( action ) { - if ( screen.width < 1300 ) { + if ( window.screen.width < 1300 ) { if ( action === 'toggle' ) { $( '.side-nav' ).toggle( 300 ); $( '.hideNav' ).toggleClass( 'navHidden' );