From f58b088cfd04fb84c9b9ea5e32023d70092bba30 Mon Sep 17 00:00:00 2001 From: bumpbot Date: Fri, 25 May 2012 17:58:22 +0000 Subject: [PATCH] Compress scripts/styles: 3.4-beta4-20900. git-svn-id: http://core.svn.wordpress.org/trunk@20900 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/theme.js | 2 +- wp-includes/js/customize-controls.js | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/js/theme.js b/wp-admin/js/theme.js index d19605194..a819da987 100644 --- a/wp-admin/js/theme.js +++ b/wp-admin/js/theme.js @@ -1 +1 @@ -jQuery(function(a){a("#availablethemes").on("click",".theme-detail",function(c){var d=a(this).closest(".available-theme"),b=d.find(".themedetaildiv");if(!b.length){b=d.find(".install-theme-info .theme-details");b=b.clone().addClass("themedetaildiv").appendTo(d).hide()}b.toggle();c.preventDefault()})});jQuery(function(b){var c,a;if(typeof wp==="undefined"||!wp.customize||!(c=wp.customize.Loader)){return}a=window.location.href.replace(/[#?].*$/,"")+"?activated=true";c.bind("open",function(){c.messenger.bind("switched",function(){c.unbind("close",c.overlay.hide);c.bind("close",function(){window.location=a})})})});jQuery(function(c){if(!window.postMessage){return}var e=c("#theme-installer"),d=e.find(".install-theme-info"),b=e.find(".wp-full-overlay-main"),a=c(document.body);e.on("click",".close-full-overlay",function(f){e.fadeOut(200,function(){b.empty();a.removeClass("theme-installer-active full-overlay-active")});f.preventDefault()});e.on("click",".collapse-sidebar",function(f){e.toggleClass("collapsed");f.preventDefault()});c("#availablethemes").on("click",".install-theme-preview",function(f){var g;d.html(c(this).closest(".installable-theme").find(".install-theme-info").html());g=d.find(".theme-preview-url").val();b.html('