Don't set the theme overlay active state in the Theme view, as it overwrites the same work in the Details view.

fixes #26481.


git-svn-id: https://develop.svn.wordpress.org/trunk@26815 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-12-09 01:26:26 +00:00
parent 098d6a8504
commit e2c2f6a402

View File

@ -205,7 +205,6 @@ themes.view.Theme = wp.Backbone.View.extend({
activeTheme: function() {
if ( this.model.get( 'active' ) ) {
this.$el.addClass( 'active' );
$( '.theme-overlay' ).addClass( 'active' );
}
},