mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 05:14:23 +00:00
potential fix for nav menu bug on webkit
This commit is contained in:
@@ -233,7 +233,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
navMenu ( action ) {
|
navMenu ( action ) {
|
||||||
if ( screen.width < 1300 ) {
|
if ( window.screen.width < 1300 ) {
|
||||||
if ( action === 'toggle' ) {
|
if ( action === 'toggle' ) {
|
||||||
$( '.side-nav' ).toggle( 300 );
|
$( '.side-nav' ).toggle( 300 );
|
||||||
$( '.hideNav' ).toggleClass( 'navHidden' );
|
$( '.hideNav' ).toggleClass( 'navHidden' );
|
||||||
|
|||||||
Reference in New Issue
Block a user