mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
Clear text field when closing receive text dialog
This commit is contained in:
parent
dd0dc21db5
commit
676c68b6e7
1 changed files with 4 additions and 2 deletions
|
@ -2057,9 +2057,11 @@ class ReceiveTextDialog extends Dialog {
|
||||||
}
|
}
|
||||||
|
|
||||||
hide() {
|
hide() {
|
||||||
// Todo: clear text field
|
|
||||||
super.hide();
|
super.hide();
|
||||||
setTimeout(() => this._dequeueRequests(), 500);
|
setTimeout(() => {
|
||||||
|
this._dequeueRequests();
|
||||||
|
this.$text.innerHTML = "";
|
||||||
|
}, 500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue