Make WordPress Core

Changeset 30461


Ignore:
Timestamp:
11/20/2014 03:36:20 PM (10 years ago)
Author:
ocean90
Message:

Simplify selectors in [30374].

props wonderboymusic, adamsilverstein.
see #29326.

File:
1 edited

Legend:

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

    r30374 r30461  
    30193019
    30203020            // Trigger the controller to set focus
    3021             view.controller.trigger( 'edit:selection', this );
     3021            this.trigger( 'edit:selection', this );
    30223022        },
    30233023
     
    62676267
    62686268        editSelection: function( modal ) {
    6269             modal.$el.find( '.media-button-backToLibrary' ).focus();
     6269            modal.$( '.media-button-backToLibrary' ).focus();
    62706270        },
    62716271
Note: See TracChangeset for help on using the changeset viewer.