custom module: clearInterval() not working
This commit is contained in:
parent
8d240fb230
commit
81f503dc3d
2 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue