Update DiscordPreview.js

This commit is contained in:
Mirco Wittrien 2020-09-19 19:51:49 +02:00
parent 03c3a6b234
commit 6348932faf
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@
if (data.nativeCSS) {
let theme = document.createElement("style");
theme.classList.add(data.reason);
theme.innerText = data.nativeCSS.replace(/\/assets\//g, data.location + "/assets/");
theme.innerText = data.nativeCSS;
document.head.appendChild(theme);
}