Index: themes/modern-store/inc/js/thickbox/thickbox.js IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- themes/modern-store/inc/js/thickbox/thickbox.js (revision 15788) +++ themes/modern-store/inc/js/thickbox/thickbox.js (revision ) @@ -64,11 +64,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 = ''; @@ -460,15 +456,4 @@ var h = window.innerHeight || self.innerHeight || (de && de.clientHeight) || document.body.clientHeight; return [w, h]; -} +} \ No newline at end of file - -TB.detectMacXFF = function () { - var userAgent = navigator.userAgent.toLowerCase(); - if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox') != -1) { - return true; - } - - return false; -} - - \ No newline at end of file Index: themes/advanced/platform/inc/jquery/thickbox/thickbox.js IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- themes/advanced/platform/inc/jquery/thickbox/thickbox.js (revision 15788) +++ themes/advanced/platform/inc/jquery/thickbox/thickbox.js (revision ) @@ -64,11 +64,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 = ''; @@ -454,14 +450,3 @@ return [w, h]; } - -TB.detectMacXFF = function () { - var userAgent = navigator.userAgent.toLowerCase(); - if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox') != -1) { - return true; - } - - return false; -} - -