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:
parent
098d6a8504
commit
e2c2f6a402
@ -205,7 +205,6 @@ themes.view.Theme = wp.Backbone.View.extend({
|
|||||||
activeTheme: function() {
|
activeTheme: function() {
|
||||||
if ( this.model.get( 'active' ) ) {
|
if ( this.model.get( 'active' ) ) {
|
||||||
this.$el.addClass( 'active' );
|
this.$el.addClass( 'active' );
|
||||||
$( '.theme-overlay' ).addClass( 'active' );
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user