fix javascript errors
This commit is contained in:
parent
95acf40eb6
commit
6d5a7ffefc
@ -1247,10 +1247,10 @@ function on_ws_recv(evt)
|
|||||||
var slotEl = el.getElementsByClassName('slot-' + meta.slot);
|
var slotEl = el.getElementsByClassName('slot-' + meta.slot);
|
||||||
if (!slotEl.length) {
|
if (!slotEl.length) {
|
||||||
slotEl = document.createElement('div');
|
slotEl = document.createElement('div');
|
||||||
slotEl.class = 'slot-' + meta.slot;
|
slotEl.className = 'slot-' + meta.slot;
|
||||||
el.appendChild(slotEl);
|
el.appendChild(slotEl);
|
||||||
} else {
|
} else {
|
||||||
slotEl = SlotEl[0];
|
slotEl = slotEl[0];
|
||||||
}
|
}
|
||||||
slotEl.innerHTML = html;
|
slotEl.innerHTML = html;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user