mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-05 17:33:49 +00:00
Clear text field when closing receive text dialog
This commit is contained in:
@@ -2057,9 +2057,11 @@ class ReceiveTextDialog extends Dialog {
|
||||
}
|
||||
|
||||
hide() {
|
||||
// Todo: clear text field
|
||||
super.hide();
|
||||
setTimeout(() => this._dequeueRequests(), 500);
|
||||
setTimeout(() => {
|
||||
this._dequeueRequests();
|
||||
this.$text.innerHTML = "";
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user