Skip to content

Commit

Permalink
Update searchJumper.user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hoothin committed Oct 17, 2024
1 parent e5bf164 commit 02a249f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions searchJumper.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -6412,7 +6412,7 @@
document.removeEventListener("mousedown", self.showAllMouseHandler);
document.removeEventListener("keydown", self.showAllKeydownHandler);
this.con.classList.remove("search-jumper-showall");
document.documentElement.style.overflow = this.preOverflow;
//document.documentElement.style.overflow = this.preOverflow;
this.searchJumperInputKeyWords.value = "";
this.historylist.innerHTML = createHTML();
/*this.historySiteBtns.slice(0, 10).forEach(btn => {
Expand Down Expand Up @@ -6457,8 +6457,8 @@
this.setFuncKeyCall(false);
this.hideSearchInput();
this.con.classList.add("search-jumper-showall");
this.preOverflow = document.documentElement.style.overflow || "";
document.documentElement.style.overflow = "hidden";
//this.preOverflow = document.documentElement.style.overflow || "";
//document.documentElement.style.overflow = "hidden";
clearInterval(this.showAllTimeTimer);
const days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
if (window.innerWidth < 1000) {
Expand Down

0 comments on commit 02a249f

Please sign in to comment.