From 0de0ea049ab13bdd47d45629879baba042e835a6 Mon Sep 17 00:00:00 2001 From: josex2r Date: Tue, 23 Feb 2016 20:34:14 +0100 Subject: [PATCH] Fixed fade --- src/jquery.slotmachine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery.slotmachine.js b/src/jquery.slotmachine.js index dfa8943..b16b0cc 100644 --- a/src/jquery.slotmachine.js +++ b/src/jquery.slotmachine.js @@ -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);