Skip to content

Commit 03ce8c8

Browse files
committed
fix: no offloading :loaded
1 parent fb92541 commit 03ce8c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/zz.loaded.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (location.host.includes('undercards.net')) {
1919
}
2020
}
2121
function register() {
22-
document.addEventListener('DOMContentLoaded', () => sleep().then(loaded));
22+
document.addEventListener('DOMContentLoaded', () => loaded);
2323
window.addEventListener('load', () => sleep().then(done));
2424
const COMPLETE = document.readyState === 'complete';
2525
if (document.readyState === 'interactive' || COMPLETE) {

0 commit comments

Comments
 (0)