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;
|
var method;
|
||||||
|
|
||||||
// Don't do anything inside inputs.
|
// Don't do anything inside inputs.
|
||||||
if ( 'input' === event.target.tagName.toLowerCase() ) {
|
if ( 'INPUT' === event.target.nodeName ) {
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Catch arrow events
|
// Catch arrow events
|
||||||
|
Loading…
Reference in New Issue
Block a user