diff options
author | John McLear <john@mclear.co.uk> | 2013-04-04 02:25:19 +0100 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2013-04-04 02:25:19 +0100 |
commit | 380821781f1fe5e8309ff58dde095d4add91ee1f (patch) | |
tree | 20d01a2f6821cfdeb4b463f3e1a0b10626b539d3 /src/static/js/ace2_inner.js | |
parent | 78d1c5746f8c92f51a6e97fe3344af693d897de0 (diff) | |
download | etherpad-lite-380821781f1fe5e8309ff58dde095d4add91ee1f.zip |
dont use top, use the scheduler
Diffstat (limited to 'src/static/js/ace2_inner.js')
-rw-r--r-- | src/static/js/ace2_inner.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index cfe24ccd..067b546b 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -3651,7 +3651,7 @@ function Ace2Inner(){ evt.preventDefault(); var originalBackground = parent.parent.$('#revisionlink').css("background") parent.parent.$('#revisionlink').css({"background":"lightyellow"}); - top.setTimeout(function(){ + scheduler.setTimeout(function(){ parent.parent.$('#revisionlink').css({"background":originalBackground}); }, 1000); parent.parent.pad.collabClient.sendMessage({"type":"SAVE_REVISION"}); /* The parent.parent part of this is BAD and I feel bad.. It may break something */ |