mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Theme Installer: Show 'Preview' button for installed themes.
props adamsilverstein. see #27055, see #27708. git-svn-id: https://develop.svn.wordpress.org/trunk@28038 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d5c3a966be
commit
24c0c60802
@ -1086,7 +1086,7 @@ body.folded .theme-overlay .theme-wrap {
|
||||
.theme-browser .theme .theme-installed:before {
|
||||
content: '\f147';
|
||||
}
|
||||
.theme-browser .theme.is-installed .theme-actions,
|
||||
.theme-browser .theme.is-installed .theme-actions .button-primary,
|
||||
.theme-browser.rendered .theme.is-installed .more-details {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@ -390,7 +390,6 @@ themes.view.Theme = wp.Backbone.View.extend({
|
||||
|
||||
if ( this.model.get( 'installed' ) ) {
|
||||
this.$el.addClass( 'is-installed' );
|
||||
this.$el.unbind();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user