Make WordPress Core

Changeset 29332


Ignore:
Timestamp:
07/30/2014 05:48:21 PM (11 years ago)
Author:
azaozz
Message:

Use node.nodeName instead of tagName for better consistency/compatibility, see #28704.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media-views.js

    r29331 r29332  
    47544754
    47554755            // Don't do anything inside inputs.
    4756             if ( 'input' === event.target.tagName.toLowerCase() ) {
    4757                 return
     4756            if ( 'INPUT' === event.target.nodeName ) {
     4757                return;
    47584758            }
    47594759
Note: See TracChangeset for help on using the changeset viewer.