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