forked from CringeStudios/gamja
Fix empty buffers on switch
Fixes: c6f9aae84c2b ("Fix TypeError when sending message")
This commit is contained in:
parent
eef5609dcf
commit
f9972dae5f
@ -146,6 +146,8 @@ function createBuffer(name) {
|
||||
}
|
||||
// TODO: set time tag if missing
|
||||
|
||||
buf.messages.push(msg);
|
||||
|
||||
if (activeBuffer === buf) {
|
||||
bufferElt.appendChild(createMessageElement(msg));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user