fix carrousel bug
This commit is contained in:
parent
2df08cefb3
commit
88e22ec3ef
2 changed files with 2 additions and 2 deletions
2
public/js/caroussel.js
vendored
2
public/js/caroussel.js
vendored
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
2
resources/js/caroussel.js
vendored
2
resources/js/caroussel.js
vendored
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue