Use node.nodeName instead of tagName for better consistency/compatibility, see #28704.
git-svn-id: https://develop.svn.wordpress.org/trunk@29332 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8790d81cb4
commit
cba848581b
|
@ -4753,8 +4753,8 @@
|
|||
var method;
|
||||
|
||||
// Don't do anything inside inputs.
|
||||
if ( 'input' === event.target.tagName.toLowerCase() ) {
|
||||
return
|
||||
if ( 'INPUT' === event.target.nodeName ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Catch arrow events
|
||||
|
|
Loading…
Reference in New Issue