Disable send text button after dialog has been hidden
This commit is contained in:
parent
755d5e29f0
commit
d3e7de89cd
|
@ -2319,6 +2319,11 @@ class SendTextDialog extends Dialog {
|
||||||
text: this.$text.innerText
|
text: this.$text.innerText
|
||||||
});
|
});
|
||||||
this.hide();
|
this.hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
hide() {
|
||||||
|
super.hide();
|
||||||
|
this.$submit.setAttribute('disabled', true);
|
||||||
setTimeout(() => this.$text.innerText = "", 300);
|
setTimeout(() => this.$text.innerText = "", 300);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue