Created
March 1, 2012 07:10
-
-
Save atomize/1947960 to your computer and use it in GitHub Desktop.
jQuery reload window on resize
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
$(window).bind('resize',function(){ | |
window.location.href = window.location.href; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment