custom module: clearInterval() not working

This commit is contained in:
bordun 2021-03-27 12:11:43 +01:00
parent 8d240fb230
commit 81f503dc3d
2 changed files with 2 additions and 1 deletions

View file

@ -201,7 +201,7 @@ class CustomModule {
}
}
clearInterval(id) {
clearInterval(interval) {
clearInterval(interval)
if (this.intervals.includes(interval)) {
this.intervals.splice(this.intervals.indexOf(interval), 1)