diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/menu-reset.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/menu-reset.js b/assets/menu-reset.js index f3b90c5..37cb47b 100644 --- a/assets/menu-reset.js +++ b/assets/menu-reset.js @@ -1,5 +1,5 @@ (function() { - var menu = document.querySelector("aside.book-menu nav"); + var menu = document.querySelector("aside .book-menu-content"); addEventListener("beforeunload", function(event) { localStorage.setItem("menu.scrollTop", menu.scrollTop); }); |