Skip to content

Commit c1c1074

Browse files
committed
Fix back-button cache problem? #59
1 parent c5fa185 commit c1c1074

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/theme/book.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ $( document ).ready(function() {
33
// url
44
var url = window.location.pathname;
55

6+
// Fix back button cache problem
7+
window.onunload = function(){};
68

79
// Set theme
810
var theme = localStorage.getItem('theme');

0 commit comments

Comments
 (0)