mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
removed hack, because its uncessary now that scheduler is back
This commit is contained in:
parent
5e041aaedb
commit
500c451ba1
1 changed files with 0 additions and 14 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue