Index: branches/5.3.x/core/admin_templates/js/jquery/thickbox/thickbox.js =================================================================== diff -u -N -r15677 -r15902 --- branches/5.3.x/core/admin_templates/js/jquery/thickbox/thickbox.js (.../thickbox.js) (revision 15677) +++ branches/5.3.x/core/admin_templates/js/jquery/thickbox/thickbox.js (.../thickbox.js) (revision 15902) @@ -115,11 +115,7 @@ } } - if (TB.detectMacXFF()) { - $('#TB_overlay').addClass('TB_overlayMacFFBGHack'); // use png overlay so hide flash - } else { - $('#TB_overlay').addClass('TB_overlayBG'); // use background and opacity - } + $('#TB_overlay').addClass('TB_overlayBG'); // use background and opacity if (params.caption === null) { params.caption = ''; @@ -383,11 +379,12 @@ } } else if (params.url.indexOf('TB_iframe') != -1) { TB.position(); - if ($.browser.safari) { + + /*if ($.browser.safari) { // safari needs help because it will not fire iframe onload $('#TB_load').remove(); $('#' + TB.getId('TB_window')).css('display', 'block'); - } + }*/ } else { $.ajaxSetup({cache: false}); @@ -707,12 +704,6 @@ return [w, h]; } -TB.detectMacXFF = function () { - var userAgent = navigator.userAgent.toLowerCase(); - - return userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox') != -1; -} - TB.updateZIndex = function () { // #TB_overlay - 1000100 // .TB_window - 1000102 [ok]