Created
August 20, 2016 17:48
-
-
Save kharissulistiyo/7e36f61b17438c0d1ae5eaeeb740d7c1 to your computer and use it in GitHub Desktop.
JS mobile menu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( matchMedia( 'only screen and (max-width: 1024px)' ).matches ) { | |
currMenuType = 'mobile'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment