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"}); }