Don't set the theme overlay active state in the Theme view, as it overwrites the same work in the Details view.
fixes #26481. Built from https://develop.svn.wordpress.org/trunk@26815 git-svn-id: http://core.svn.wordpress.org/trunk@26702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1fb828504e
commit
6d226fb454
|
@ -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' );
|
||||
}
|
||||
},
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue