mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-06 04:36:17 +02:00
Brought scheduler back completly, fixes #1502
This commit is contained in:
parent
e87843c5ae
commit
0953a5ac33
@ -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…
x
Reference in New Issue
Block a user