]> git.scottworley.com Git - vopamoi/commit
Explicitly remove the completeEdit onblur event listener
authorScott Worley <scottworley@scottworley.com>
Thu, 27 Jan 2022 06:17:43 +0000 (22:17 -0800)
committerScott Worley <scottworley@scottworley.com>
Thu, 27 Jan 2022 20:21:55 +0000 (12:21 -0800)
commit8ca3cda9da4db4ac0bd05462b54e04fabbf75451
treeece9bf16ef64b3a7d00c6f90a70977efa603a806
parent7b57440781029bab8be76950847e36e7a2303cf6
Explicitly remove the completeEdit onblur event listener

When the completeEdit is invoked by keystroke, we don't want it invoked
a second time as a result of its own action removing the input field.

Firefox does *not* call the "blur" event when a focused input element is removed.
Chromium *does* call the "blur" event when a focused input element is removed.

So this is needed for Chromium.
vopamoi.ts