mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
dont use top, use the scheduler
This commit is contained in:
parent
78d1c5746f
commit
380821781f
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue