mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
Theme install style tweaks, see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10788 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -24,9 +24,13 @@ jQuery(document).ready(function($) {
|
||||
|
||||
thickDims()
|
||||
.click( function() {
|
||||
var alink = $(this).parents('.available-theme').find('.activatelink'), url = alink.attr('href'), text = alink.html();
|
||||
var alink = $(this).parents('.available-theme').find('.activatelink'), url = '', text = '';
|
||||
|
||||
if ( null == text ) text = '';
|
||||
if ( alink.length ) {
|
||||
url = alink.attr('href') || '';
|
||||
text = alink.html() || '';
|
||||
}
|
||||
|
||||
$('#TB_title').css({'background-color':'#222','color':'#cfcfcf'});
|
||||
$('#TB_closeAjaxWindow').css({'float':'left'});
|
||||
$('#TB_ajaxWindowTitle').css({'float':'right'})
|
||||
@@ -40,11 +44,7 @@ jQuery(document).ready(function($) {
|
||||
|
||||
// Theme details disclosure
|
||||
$('.theme-detail').click(function () {
|
||||
if ($(this).parents('.available-theme').find('#themedetaildiv').is(":hidden")) {
|
||||
$(this).parents('.available-theme').find('#themedetaildiv').slideDown("normal");
|
||||
$(this).hide();
|
||||
}
|
||||
|
||||
$(this).siblings('.themedetaildiv').toggle();
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user