mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 15:35:11 +00:00
Preload: remove redundant function calling a function
This commit is contained in:
parent
26911d924b
commit
3a27b6612a
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ if (location.protocol !== "data:") {
|
|||
if (document.readyState === "complete") {
|
||||
injectStyle();
|
||||
} else {
|
||||
document.addEventListener("DOMContentLoaded", () => injectStyle(), {
|
||||
document.addEventListener("DOMContentLoaded", injectStyle, {
|
||||
once: true
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue