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:
Andrew Ozz 2014-07-30 17:48:21 +00:00
parent 8790d81cb4
commit cba848581b
1 changed files with 2 additions and 2 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