For faster processing, use DOMContentLoaded instead

This commit is contained in:
buzz-lightsnack-2007 2024-04-16 20:23:18 +08:00
parent 7a6033ec8c
commit 61082a0c67

View file

@ -34,7 +34,7 @@ let main = (async () => {
// Begin only when the page is fully loaded.
window.addEventListener(`load`, (event) => {
window.addEventListener(`DOMContentLoaded`, (event) => {
// Begin processing.
let PROC = new processor(matches);