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

@ -5,6 +5,7 @@
- bug fixes
- editor: error when duplicating widget while if the clipboard is empty
- ui: local zoom move issue when not in fullscreen
- custom module: `clearInterval()` not working
- misc
- faster local zoom

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)