From e268f769b7964c17dce812d9a639d7b08ee4f1b3 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Sat, 17 Mar 2018 13:17:50 -0300 Subject: [PATCH] Fix emote wrapper children --- client/src/builtin/EmoteModule.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/builtin/EmoteModule.js b/client/src/builtin/EmoteModule.js index 6877cf42..ad474753 100644 --- a/client/src/builtin/EmoteModule.js +++ b/client/src/builtin/EmoteModule.js @@ -122,6 +122,9 @@ export default class { static injectEmote(root) { if (!emotesEnabled) return; + while (root.firstChild) { + root.removeChild(root.firstChild); + } const { bdemoteName, bdemoteSrc } = root.dataset; if (!bdemoteName || !bdemoteSrc) return; VueInjector.inject(