diff -r 2f6f6f7551ca -r 32102edaa81b web/wp-admin/js/theme-preview.dev.js --- a/web/wp-admin/js/theme-preview.dev.js Thu Sep 16 15:45:36 2010 +0000 +++ b/web/wp-admin/js/theme-preview.dev.js Mon Nov 19 18:26:13 2012 +0100 @@ -21,6 +21,8 @@ $(window).resize( function() { thickDims() } ); $('a.thickbox-preview').click( function() { + tb_click.call(this); + var alink = $(this).parents('.available-theme').find('.activatelink'), link = '', href = $(this).attr('href'), url, text; if ( tbWidth = href.match(/&tbWidth=[0-9]+/) ) @@ -48,14 +50,7 @@ $('#TB_iframeContent').width('100%'); thickDims(); + return false; } ); - - // Theme details - $('.theme-detail').click(function () { - $(this).siblings('.themedetaildiv').toggle(); - return false; - }); - }); -