mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-04-20 22:12:32 -05:00
[themeSwitch] css loading fails with error (#495)
This commit is contained in:
committed by
GitHub
parent
a1809330aa
commit
d9c2c885fa
@@ -248,7 +248,7 @@
|
||||
console.log(key, path);
|
||||
const styleSheet = document.createElement("link");
|
||||
const serverURL =
|
||||
window.Location.origin +
|
||||
window.location.origin +
|
||||
document.querySelector("base")?.getAttribute("href") ?? "/";
|
||||
styleSheet.setAttribute(
|
||||
"href",
|
||||
|
||||
Reference in New Issue
Block a user