diff options
author | John McLear <john@mclear.co.uk> | 2013-04-04 11:02:40 -0700 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2013-04-04 11:02:40 -0700 |
commit | 7805e83b7f2ae7fe6f1e8f612db154eaa6c99236 (patch) | |
tree | 514aa0fa3385d17fce60ea89dbd9f51b1eef1534 /src/static/js/ace2_inner.js | |
parent | 38f7253d311f3fdf95fa72f6b7a6669dba2d3cc1 (diff) | |
parent | 380821781f1fe5e8309ff58dde095d4add91ee1f (diff) | |
download | etherpad-lite-7805e83b7f2ae7fe6f1e8f612db154eaa6c99236.zip |
Merge pull request #1705 from ether/ctrl-s-top
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 */ |