Fix back-button cache problem? #59

This commit is contained in:
Mathieu David 2015-09-24 22:32:41 +02:00
parent c5fa1854c3
commit c1c1074292
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@ $( document ).ready(function() {
// url // url
var url = window.location.pathname; var url = window.location.pathname;
// Fix back button cache problem
window.onunload = function(){};
// Set theme // Set theme
var theme = localStorage.getItem('theme'); var theme = localStorage.getItem('theme');