diff --git a/src/snek/static/chat-input.js b/src/snek/static/chat-input.js index 205aa3d..110ea27 100644 --- a/src/snek/static/chat-input.js +++ b/src/snek/static/chat-input.js @@ -10,12 +10,17 @@ class ChatInputComponent extends HTMLElement { app.rpc.starsRender(this.channelUid,this.value.replace("/starsRender ","")) } } - + users = [] + textarea = null + _value = "" + lastUpdateEvent = null + previousValue = "" + lastChange = null + changed = false constructor() { super(); this.lastUpdateEvent = new Date(); this.textarea = document.createElement("textarea"); - this._value = ""; this.value = this.getAttribute("value") || ""; this.previousValue = this.value; this.lastChange = new Date();