Last active
August 7, 2016 18:31
-
-
Save zaurmag/0ed19077832584a0bc3c9f737e6893b5 to your computer and use it in GitHub Desktop.
Enquire JS
This file contains hidden or 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
// ======= Enquire JS ======= | |
enquire.register("screen and (max-width:1170px)", { | |
match: function() { | |
$('.menu-nav-wrapper').dropdownMenu(); | |
}, | |
unmatch: function() { | |
$('.menu-nav-wrapper').dropdownMenu({ | |
destroy: true | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment