From 843144dd85e374ade722e2f2b0b3511a0e34d8f6 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Wed, 19 May 2021 20:12:27 +0200 Subject: Regression, fix menu reset script --- assets/menu-reset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); -- cgit v1.2.3