Skip to content

Commit

Permalink
Fix back-button cache problem? #59
Browse files Browse the repository at this point in the history
  • Loading branch information
azerupi committed Sep 24, 2015
1 parent c5fa185 commit c1c1074
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/theme/book.js
Expand Up @@ -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');
Expand Down

0 comments on commit c1c1074

Please sign in to comment.