From 500c451ba1b49e16f642599ff403b219b747e794 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Sun, 10 Feb 2013 21:19:48 +0000 Subject: [PATCH] removed hack, because its uncessary now that scheduler is back --- src/static/js/ace2_inner.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index eef7fbe4c..4113a1179 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -157,20 +157,6 @@ function Ace2Inner(){ var scheduler = parent; // hack for opera required - // Ugly hack for Firefox 18 - // get the timeout and interval methods from the parent iframe - // This hack breaks IE8 so be careful - if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ - try{ - setTimeout = scheduler.setTimeout; - clearTimeout = scheduler.clearTimeout; - setInterval = scheduler.setInterval; - clearInterval = scheduler.clearInterval; - }catch(err){ - // IE8 can panic here. - } - } - var textFace = 'monospace'; var textSize = 12;