diff options
author | Mathieu David <mathieudavid@mathieudavid.org> | 2015-09-24 22:32:41 +0200 |
---|---|---|
committer | Mathieu David <mathieudavid@mathieudavid.org> | 2015-09-24 22:33:05 +0200 |
commit | c1c1074292a081ddac629be05b2d8373af409210 (patch) | |
tree | 3a9a84d94c1a70ca0a62be2d35292523e987a4d2 | |
parent | c5fa1854c3a779bb566e135f719981b57b182589 (diff) |
Fix back-button cache problem? #59v0.0.2
-rw-r--r-- | src/theme/book.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/theme/book.js b/src/theme/book.js index 297f5360..0754fee7 100644 --- a/src/theme/book.js +++ b/src/theme/book.js @@ -3,6 +3,8 @@ $( document ).ready(function() { // url var url = window.location.pathname; + // Fix back button cache problem + window.onunload = function(){}; // Set theme var theme = localStorage.getItem('theme'); |