fix lint
This commit is contained in:
parent
504f7a403c
commit
acdccd0310
|
|
@ -239,7 +239,7 @@ watch(visibility, () => {
|
|||
}, BACKGROUND_PAUSE_WAIT_SEC * 1000);
|
||||
} else { // 'visible'
|
||||
if (timerForSetPause) {
|
||||
clearTimeout(timerForSetPause);
|
||||
window.clearTimeout(timerForSetPause);
|
||||
timerForSetPause = null;
|
||||
} else {
|
||||
isPausingUpdate = false;
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ watch(visibility, () => {
|
|||
}, BACKGROUND_PAUSE_WAIT_SEC * 1000);
|
||||
} else { // 'visible'
|
||||
if (timerForSetPause) {
|
||||
clearTimeout(timerForSetPause);
|
||||
window.clearTimeout(timerForSetPause);
|
||||
timerForSetPause = null;
|
||||
} else {
|
||||
isPausingUpdate = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue