Preload: remove redundant function calling a function

This commit is contained in:
Sqaaakoi 2025-01-20 11:22:50 +13:00
parent 26911d924b
commit 3a27b6612a
No known key found for this signature in database

View file

@ -35,7 +35,7 @@ if (location.protocol !== "data:") {
if (document.readyState === "complete") {
injectStyle();
} else {
document.addEventListener("DOMContentLoaded", () => injectStyle(), {
document.addEventListener("DOMContentLoaded", injectStyle, {
once: true
});
}