Removed some dead code
This commit is contained in:
parent
157493b0f4
commit
deaa7716a2
@ -16,9 +16,6 @@ class ChatInputComponent extends HTMLElement {
|
||||
textarea = null
|
||||
_value = ""
|
||||
lastUpdateEvent = null
|
||||
previousValue = ""
|
||||
lastChange = null
|
||||
changed = false
|
||||
expiryTimer = null;
|
||||
|
||||
constructor() {
|
||||
@ -26,9 +23,6 @@ class ChatInputComponent extends HTMLElement {
|
||||
this.lastUpdateEvent = new Date();
|
||||
this.textarea = document.createElement("textarea");
|
||||
this.value = this.getAttribute("value") || "";
|
||||
this.previousValue = this.value;
|
||||
this.lastChange = new Date();
|
||||
this.changed = false;
|
||||
}
|
||||
|
||||
get value() {
|
||||
@ -194,7 +188,6 @@ class ChatInputComponent extends HTMLElement {
|
||||
if (autoCompletionHandler) {
|
||||
autoCompletionHandler();
|
||||
this.value = "";
|
||||
this.previousValue = "";
|
||||
e.target.value = "";
|
||||
|
||||
return;
|
||||
@ -273,7 +266,6 @@ class ChatInputComponent extends HTMLElement {
|
||||
app.rpc.finalizeMessage(this.messageUid)
|
||||
}
|
||||
this.value = "";
|
||||
this.previousValue = "";
|
||||
this.messageUid = null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user