git-svn-id: http://core.svn.wordpress.org/trunk@22779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dfb844b64b
commit
7de56d32db
|
@ -1910,7 +1910,7 @@
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if ( ! ( view instanceof Backbone.View ) ) {
|
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();
|
view = new media.view.Button( view ).render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue