Last active
July 8, 2016 18:37
-
-
Save allentong/caa60a9fcee45683cc61eb9af8c91bdc to your computer and use it in GitHub Desktop.
Firefox Back Button Reload Fix
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).bind("pageshow", function(event) { | |
if (event.originalEvent.persisted) { | |
location.reload(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment