Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
fix(autoplay): Typo on dataset getter
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikiki committed Feb 11, 2018
1 parent d0d9daa commit 6b2a4e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/bulma-carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Carousel {
this._bindEvents();
this._initOrder();

if (this.element.dataset._autoPlay && this.element.dataset._autoPlay == 'true') {
if (this.element.dataset.autoPlay && this.element.dataset.autoPlay == 'true') {
this._autoPlay(this.element.dataset.delay || 5000);
}
}
Expand Down
Loading

0 comments on commit 6b2a4e0

Please sign in to comment.