Created
February 21, 2015 12:34
-
-
Save strika/515cbd9a17a6f6a4ceaf to your computer and use it in GitHub Desktop.
Resolution change listener
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
$(window).on("resize, orientationchange", function() { | |
$.throttle(function() { | |
$(".custom-select").customSelect(); | |
}, 500); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment