]> scripts.mit.edu Git - autoinstallsdev/wordpress.git/blobdiff - wp-admin/js/theme-preview.dev.js
WordPress 3.4.2
[autoinstallsdev/wordpress.git] / wp-admin / js / theme-preview.dev.js
index 5c67e999b5dd94ac9d51a3b3894dd865b69f0837..b7959c501fb686b29f262145c45f203b1ec28677 100644 (file)
@@ -21,6 +21,8 @@ jQuery(document).ready(function($) {
        $(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 @@ jQuery(document).ready(function($) {
 
                $('#TB_iframeContent').width('100%');
                thickDims();
-               return false;
-       } );
 
-       // Theme details
-       $('.theme-detail').click(function () {
-               $(this).siblings('.themedetaildiv').toggle();
                return false;
-       });
-
+       } );
 });
-