Created
August 20, 2016 17:49
-
-
Save kharissulistiyo/06bdd5636401c836b077359a9e74f26a 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: 1280px)' ).matches ) { | |
currMenuType = 'mobile'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment