feat(scripts): fix bfcache issues
This commit is contained in:
parent
ddeab66482
commit
14e83d8a4f
@ -182,7 +182,7 @@ const querySelectors = () =>
|
|||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description Listens DOM complete state
|
* @description Cleans DOM again after all
|
||||||
* @listens document#readystatechange
|
* @listens document#readystatechange
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -196,6 +196,13 @@ document.addEventListener("readystatechange", () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description Fix bfcache issues
|
||||||
|
* @listens window#unload
|
||||||
|
*/
|
||||||
|
|
||||||
|
window.addEventListener("unload", () => {});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description Setups everything and starts to observe if enabled
|
* @description Setups everything and starts to observe if enabled
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user