mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-21 15:26:17 -04:00
Fix _textInputEmpty() for Chromium based browsers
Co-authored-by: luckman212 <1992842+luckman212@users.noreply.github.com>
This commit is contained in:
parent
56eb29c91b
commit
8a17b82fa4
2 changed files with 2 additions and 2 deletions
|
@ -1306,7 +1306,7 @@ class SendTextDialog extends Dialog {
|
|||
}
|
||||
|
||||
_textInputEmpty() {
|
||||
return this.$text.innerText === "\n";
|
||||
return !this.$text.innerText || this.$text.innerText === "\n";
|
||||
}
|
||||
|
||||
_onChange(e) {
|
||||
|
|
|
@ -1307,7 +1307,7 @@ class SendTextDialog extends Dialog {
|
|||
}
|
||||
|
||||
_textInputEmpty() {
|
||||
return this.$text.innerText === "\n";
|
||||
return !this.$text.innerText || this.$text.innerText === "\n";
|
||||
}
|
||||
|
||||
_onChange(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue