From 937cb9e966c32acfd176ff694a2f71e0689682a1 Mon Sep 17 00:00:00 2001 From: azaozz Date: Wed, 7 Jan 2009 07:45:53 +0000 Subject: [PATCH] Fix non-critical js error when loading Thickbox on the plugins page, fixes #8812 for trunk git-svn-id: http://svn.automattic.com/wordpress/trunk@10327 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/plugin-install.dev.js | 2 -- wp-admin/js/plugin-install.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-admin/js/plugin-install.dev.js b/wp-admin/js/plugin-install.dev.js index 136f00e14b..98bf8b9168 100644 --- a/wp-admin/js/plugin-install.dev.js +++ b/wp-admin/js/plugin-install.dev.js @@ -27,8 +27,6 @@ jQuery(document).ready(function($) { return false; }); - $(window).resize( function() { tb_position() } ); - /* Plugin install related JS*/ $('#install-plugins tbody.plugins tr').click( function() { $(this).find('.action-links a.onclick').click(); diff --git a/wp-admin/js/plugin-install.js b/wp-admin/js/plugin-install.js index 1e7c4fe47a..14e28cfe19 100644 --- a/wp-admin/js/plugin-install.js +++ b/wp-admin/js/plugin-install.js @@ -1 +1 @@ -jQuery(document).ready(function(b){var a=function(){var f=b("#TB_window"),e=b(window).width(),d=b(window).height(),c=(720"+plugininstallL10n.plugin_information+" "+b(this).attr("title"));return false});b(window).resize(function(){tb_position()});b("#install-plugins tbody.plugins tr").click(function(){b(this).find(".action-links a.onclick").click();return false});b("#plugin-information #sidemenu a").click(function(){var c=b(this).attr("name");b("#plugin-information-header a.current").removeClass("current");b(this).addClass("current");b("#section-holder div.section").hide();b("#section-"+c).show();return false})}); \ No newline at end of file +jQuery(document).ready(function(b){var a=function(){var f=b("#TB_window"),e=b(window).width(),d=b(window).height(),c=(720"+plugininstallL10n.plugin_information+" "+b(this).attr("title"));return false});b("#install-plugins tbody.plugins tr").click(function(){b(this).find(".action-links a.onclick").click();return false});b("#plugin-information #sidemenu a").click(function(){var c=b(this).attr("name");b("#plugin-information-header a.current").removeClass("current");b(this).addClass("current");b("#section-holder div.section").hide();b("#section-"+c).show();return false})}); \ No newline at end of file