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:
Andrew Ozz 2014-07-30 17:49:16 +00:00
parent 2ca11ebf72
commit 4bff4ff2d6
2 changed files with 3 additions and 3 deletions

View File

@ -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

File diff suppressed because one or more lines are too long