Skip to content

Commit

Permalink
fix(script): only trigger event listener once (#11)
Browse files Browse the repository at this point in the history
* fix(script): only trigger event listener once

* this is JS...
  • Loading branch information
iMarbot authored May 23, 2024
1 parent 73a1ebe commit a4b1174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/scripts/ext.networknotice.Notice.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
if ( [ 'interactive', 'complete' ].includes( document.readyState ) ) {
init();
}
} );
}, { once: true } );
}
}( window, document ) );

0 comments on commit a4b1174

Please sign in to comment.