Update DiscordPreview.js

This commit is contained in:
Mirco Wittrien 2019-01-22 13:26:58 +01:00
parent fb05760bc4
commit d0c0293fb8
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ window.onmessage = function (e) {
html = html.split('"');
newhtml += 'class="' + (e.data.checked ? html[0].replace(/([A-z0-9]+?)-([A-z0-9_-]{6})(["| ])/g, "$1-$2 da-$1$3") : html[0].split(" ").filter(n => n.indexOf("da-") != 0).join(" ")) + html[1];
}
document.body.innerHTML = newhtml.join(
document.body.innerHTML = newhtml;
break;
}
}