editor: prevent misc error
This commit is contained in:
parent
343a18541c
commit
df3962ff60
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ class Editor {
|
|||
|
||||
if (
|
||||
this.inspector.helpModalOpened ||
|
||||
(e && e.target && e.target.tagName.match(/INPUT|TEXTAREA|SELECT/))
|
||||
(e && e.target && e.target.tagName && e.target.tagName.match(/INPUT|TEXTAREA|SELECT/))
|
||||
) return
|
||||
|
||||
if (e) e.preventDefault()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue