mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 10:01:39 -05:00
call addCurHistory in content_helper script
This commit is contained in:
parent
67e8d93efa
commit
c259a04cd9
1 changed files with 5 additions and 1 deletions
|
@ -1138,6 +1138,11 @@ export async function addTabHistory() {
|
|||
saveTabHistory(pages)
|
||||
}
|
||||
|
||||
// Calls addTabHistory on page load
|
||||
/** @hidden */
|
||||
//#content_helper
|
||||
addTabHistory()
|
||||
|
||||
/** Blur (unfocus) the active element */
|
||||
//#content
|
||||
export function unfocus() {
|
||||
|
@ -2076,7 +2081,6 @@ loadaucmds("DocStart")
|
|||
const autocmd_logger = new Logging.Logger("autocmds")
|
||||
window.addEventListener("pagehide", () => loadaucmds("DocEnd"))
|
||||
window.addEventListener("DOMContentLoaded", () => {
|
||||
addTabHistory()
|
||||
loadaucmds("DocLoad")
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue