mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
potential fix for nav menu bug on webkit
This commit is contained in:
1 parent
095567eb44
commit
c6778bd251
1 file changed
+1
-1
@@ -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' );
|
||||
|
||||
Reference in new issue
Block a user