From 6348932faf2021655d009f815ba7cd698933e9db Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sat, 19 Sep 2020 19:51:49 +0200 Subject: [PATCH] Update DiscordPreview.js --- Plugins/_res/DiscordPreview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/_res/DiscordPreview.js b/Plugins/_res/DiscordPreview.js index f0794a545e..8a8c471aed 100644 --- a/Plugins/_res/DiscordPreview.js +++ b/Plugins/_res/DiscordPreview.js @@ -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); }