mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 23:38:32 +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") {
|
if (document.readyState === "complete") {
|
||||||
injectStyle();
|
injectStyle();
|
||||||
} else {
|
} else {
|
||||||
document.addEventListener("DOMContentLoaded", () => injectStyle(), {
|
document.addEventListener("DOMContentLoaded", injectStyle, {
|
||||||
once: true
|
once: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue