mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
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;
|
||||
|
||||
// Don't do anything inside inputs.
|
||||
if ( 'input' === event.target.tagName.toLowerCase() ) {
|
||||
return
|
||||
if ( 'INPUT' === event.target.nodeName ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Catch arrow events
|
||||
|
2
wp-includes/js/media-views.min.js
vendored
2
wp-includes/js/media-views.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user