Regression, fix menu reset script
This commit is contained in:
parent
4d936a55d8
commit
843144dd85
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue