Created
July 4, 2016 05:03
-
-
Save delowardev/3167eb0d30a188fb83c4210375a1c7e7 to your computer and use it in GitHub Desktop.
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
var resizeId; | |
$(window).resize(function() { | |
clearTimeout(resizeId); | |
resizeId = setTimeout(doneResizing, 500); | |
}); | |
function doneResizing(){ | |
location.reload(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment