From fd04241472f3061b3c6b94f9e32d02bb3d82af24 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sun, 28 Mar 2010 04:48:20 +0000 Subject: [PATCH] JQuery.noConflict() fix for thickbox.js. Props Michael. Fixes #12382 git-svn-id: https://develop.svn.wordpress.org/trunk@13864 602fd350-edb4-49c9-b593-d223f7449a82 --- 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"}); }