From 7de56d32dbe8ca0beb6bf3bab702a65548769f7a Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Wed, 21 Nov 2012 17:50:02 +0000 Subject: [PATCH] Media: Use a more specific class for toolbar buttons. see #22284, #21390. git-svn-id: http://core.svn.wordpress.org/trunk@22779 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/media-views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index ca58161c90..f9499634a1 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -1910,7 +1910,7 @@ } else { if ( ! ( view instanceof Backbone.View ) ) { - view.classes = [ id ].concat( view.classes || [] ); + view.classes = [ 'media-button-' + id ].concat( view.classes || [] ); view = new media.view.Button( view ).render(); }