mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
excmds.ts: Fix jumplist not being correctly restored on reloads
This commit is contained in:
parent
db780f2d69
commit
7127106a25
1 changed files with 1 additions and 3 deletions
|
@ -675,9 +675,7 @@ document.addEventListener("scroll", addJump)
|
|||
|
||||
// Try to restore the previous jump position every time a page is loaded
|
||||
//#content_helper
|
||||
curJumps().then(() => {
|
||||
jumpprev(0)
|
||||
})
|
||||
document.addEventListener("load", () => curJumps().then(() => jumpprev(0)))
|
||||
|
||||
/** Blur (unfocus) the active element */
|
||||
//#content
|
||||
|
|
Loading…
Add table
Reference in a new issue