fix carrousel bug

This commit is contained in:
Sebastien Hattry 2021-11-25 14:46:50 +01:00
parent 2df08cefb3
commit 88e22ec3ef
2 changed files with 2 additions and 2 deletions

View file

@ -2338,7 +2338,7 @@ var Carrousel = /*#__PURE__*/function () {
}); // Interval
if (this.options.play) {
playpause = setInterval(function () {
var playpause = setInterval(function () {
return _this.next();
}, this.options.interval);
}

View file

@ -74,7 +74,7 @@ class Carrousel {
// Interval
if (this.options.play) {
playpause = setInterval(() => this.next(), this.options.interval);
let playpause = setInterval(() => this.next(), this.options.interval);
}
}