mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-18 15:22:16 +00:00
Clear text field when closing receive text dialog
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user