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:
Andrew Nacin 2014-04-08 04:37:37 +00:00
parent d5c3a966be
commit 24c0c60802
2 changed files with 1 additions and 2 deletions

View File

@ -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;
}

View File

@ -390,7 +390,6 @@ themes.view.Theme = wp.Backbone.View.extend({
if ( this.model.get( 'installed' ) ) {
this.$el.addClass( 'is-installed' );
this.$el.unbind();
}
},