Skip to content

Commit

Permalink
Fixed fade
Browse files Browse the repository at this point in the history
  • Loading branch information
josex2r committed Feb 23, 2016
1 parent d6f41d9 commit 0de0ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jquery.slotmachine.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ class SlotMachine {
this.raf(function cb () {
this._fxClass = FX_SPEED;

if (this.fade !== true || FX_SPEED === FX_STOP) {
if (FX_SPEED === FX_STOP) {
$elements.removeClass(FX_GRADIENT);
} else {
$elements.addClass(FX_GRADIENT);
Expand Down

0 comments on commit 0de0ea0

Please sign in to comment.