Fix emote wrapper children
This commit is contained in:
parent
0af356823a
commit
e268f769b7
|
@ -122,6 +122,9 @@ export default class {
|
||||||
|
|
||||||
static injectEmote(root) {
|
static injectEmote(root) {
|
||||||
if (!emotesEnabled) return;
|
if (!emotesEnabled) return;
|
||||||
|
while (root.firstChild) {
|
||||||
|
root.removeChild(root.firstChild);
|
||||||
|
}
|
||||||
const { bdemoteName, bdemoteSrc } = root.dataset;
|
const { bdemoteName, bdemoteSrc } = root.dataset;
|
||||||
if (!bdemoteName || !bdemoteSrc) return;
|
if (!bdemoteName || !bdemoteSrc) return;
|
||||||
VueInjector.inject(
|
VueInjector.inject(
|
||||||
|
|
Loading…
Reference in New Issue