WordPress.org

Make WordPress Core

Changeset 22779


Ignore:
Timestamp:
11/21/2012 05:50:02 PM (8 years ago)
Author:
koopersmith
Message:

Media: Use a more specific class for toolbar buttons. see #22284, #21390.

File:
1 edited

Legend:

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

    r22762 r22779  
    19111911            } else {
    19121912                if ( ! ( view instanceof Backbone.View ) ) {
    1913                     view.classes = [ id ].concat( view.classes || [] );
     1913                    view.classes = [ 'media-button-' + id ].concat( view.classes || [] );
    19141914                    view = new media.view.Button( view ).render();
    19151915                }
Note: See TracChangeset for help on using the changeset viewer.