Use node.nodeName instead of tagName for better consistency/compatibility, see #28704.
Built from https://develop.svn.wordpress.org/trunk@29332 git-svn-id: http://core.svn.wordpress.org/trunk@29112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2ca11ebf72
commit
4bff4ff2d6
|
@ -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
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue