mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Prevent add label if press enter in composition session
This commit is contained in:
parent
c8b687fa63
commit
6d484884da
1 changed files with 1 additions and 1 deletions
|
|
@ -575,7 +575,7 @@
|
|||
}
|
||||
case 'enter': {
|
||||
if (event.target.id == 'omnivore-edit-label-input') {
|
||||
if (event.target.value) {
|
||||
if (event.target.value && !event.isComposing) {
|
||||
const labelList = event.target.form.querySelector('#label-list')
|
||||
addLabel(labelList, event.target, event.target.value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue