1
0
Fork 0

fix css not being loaded

This commit is contained in:
Vendicated 2023-01-04 01:14:19 +01:00
parent ac4e05e9f2
commit f7b95b0ba2
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905
4 changed files with 17 additions and 7 deletions

View file

@ -34,4 +34,13 @@
return false;
}
};
document.addEventListener("DOMContentLoaded", () => document.documentElement.appendChild(
Object.assign(document.createElement("link"), {
rel: "stylesheet",
type: "text/css",
href: "https://github.com/Vendicated/Vencord/releases/download/devbuild/browser.css"
}),
{ once: true }
));
})();