Update DiscordPreview.js
This commit is contained in:
parent
03c3a6b234
commit
6348932faf
|
@ -59,7 +59,7 @@
|
||||||
if (data.nativeCSS) {
|
if (data.nativeCSS) {
|
||||||
let theme = document.createElement("style");
|
let theme = document.createElement("style");
|
||||||
theme.classList.add(data.reason);
|
theme.classList.add(data.reason);
|
||||||
theme.innerText = data.nativeCSS.replace(/\/assets\//g, data.location + "/assets/");
|
theme.innerText = data.nativeCSS;
|
||||||
document.head.appendChild(theme);
|
document.head.appendChild(theme);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue