From a2a1a3c9f0f29e6f5d79ddb704a99a82261d0428 Mon Sep 17 00:00:00 2001 From: dd32 Date: Sun, 28 Mar 2010 04:48:20 +0000 Subject: [PATCH] JQuery.noConflict() fix for thickbox.js. Props Michael. Fixes #12382 git-svn-id: http://svn.automattic.com/wordpress/trunk@13864 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/thickbox/thickbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/thickbox/thickbox.js b/wp-includes/js/thickbox/thickbox.js index f2b602d5a5..270c7d6fef 100644 --- a/wp-includes/js/thickbox/thickbox.js +++ b/wp-includes/js/thickbox/thickbox.js @@ -231,7 +231,7 @@ function tb_show(caption, url, imageGroup) {//function called when the user clic jQuery("#TB_window").css({display:"block"}); }else if(url.indexOf('TB_iframe') != -1){ tb_position(); - if($.browser.safari){//safari needs help because it will not fire iframe onload + if(jQuery.browser.safari){//safari needs help because it will not fire iframe onload jQuery("#TB_load").remove(); jQuery("#TB_window").css({display:"block"}); }