mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 07:05:05 -04:00
Disable send text button after dialog has been hidden
This commit is contained in:
parent
755d5e29f0
commit
d3e7de89cd
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue