mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Brought scheduler back completly, fixes #1502
This commit is contained in:
parent
e87843c5ae
commit
0953a5ac33
2 changed files with 2 additions and 2 deletions
|
@ -1086,7 +1086,7 @@ function Ace2Inner(){
|
|||
{
|
||||
if (scheduledTimeout)
|
||||
{
|
||||
clearTimeout(scheduledTimeout);
|
||||
scheduler.clearTimeout(scheduledTimeout);
|
||||
scheduledTimeout = null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider)
|
|||
// and if there isn't a timeout already scheduled.
|
||||
if (changeCallback && changeCallbackTimeout === null)
|
||||
{
|
||||
changeCallbackTimeout = setTimeout(function()
|
||||
changeCallbackTimeout = scheduler.setTimeout(function()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue