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)
|
saveTabHistory(pages)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Calls addTabHistory on page load
|
||||||
|
/** @hidden */
|
||||||
|
//#content_helper
|
||||||
|
addTabHistory()
|
||||||
|
|
||||||
/** Blur (unfocus) the active element */
|
/** Blur (unfocus) the active element */
|
||||||
//#content
|
//#content
|
||||||
export function unfocus() {
|
export function unfocus() {
|
||||||
|
@ -2076,7 +2081,6 @@ loadaucmds("DocStart")
|
||||||
const autocmd_logger = new Logging.Logger("autocmds")
|
const autocmd_logger = new Logging.Logger("autocmds")
|
||||||
window.addEventListener("pagehide", () => loadaucmds("DocEnd"))
|
window.addEventListener("pagehide", () => loadaucmds("DocEnd"))
|
||||||
window.addEventListener("DOMContentLoaded", () => {
|
window.addEventListener("DOMContentLoaded", () => {
|
||||||
addTabHistory()
|
|
||||||
loadaucmds("DocLoad")
|
loadaucmds("DocLoad")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue