Skip to content

Commit

Permalink
carousalJS updated after review comment from daniel
Browse files Browse the repository at this point in the history
  • Loading branch information
vish250491 committed Jan 29, 2016
1 parent bc850ef commit 7105eda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/buildfire/components/carousel/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,10 @@ buildfire.components.carousel.view.prototype = {
this._renderSlider();
this._loadImages();
if (this.items.length) {
this._applySlider(speed?speed:0);
if(typeof speed === 'undefined')
this._applySlider();
else
this._applySlider(speed);
} else {
this._hideSlider();
}
Expand Down

0 comments on commit 7105eda

Please sign in to comment.