Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
RangerMauve committed Mar 14, 2024
1 parent 1d16838 commit 1928f5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ${content}
if(window.hljs) hljs.initHighlightingOnLoad()
</script>
`)
document.close()
// Needed to trigger document load detection
dispatchEvent(new Event('load'));
document.close()
// Needed to trigger document load detection
window.dispatchEvent(new Event('load'))
}

0 comments on commit 1928f5a

Please sign in to comment.