Fix back-button cache problem? #59
This commit is contained in:
parent
c5fa1854c3
commit
c1c1074292
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue