summaryrefslogtreecommitdiff
path: root/src/static/js/ace2_inner.js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2013-04-04 02:25:19 +0100
committerJohn McLear <john@mclear.co.uk>2013-04-04 02:25:19 +0100
commit380821781f1fe5e8309ff58dde095d4add91ee1f (patch)
tree20d01a2f6821cfdeb4b463f3e1a0b10626b539d3 /src/static/js/ace2_inner.js
parent78d1c5746f8c92f51a6e97fe3344af693d897de0 (diff)
downloadetherpad-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.js2
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 */