From 47a3c02e3cdf676563ebdd2f5a23236368fad54b Mon Sep 17 00:00:00 2001 From: Aamir Afridi Date: Wed, 4 Feb 2015 12:07:32 +0000 Subject: [PATCH] fixed a bug where data-gap was not working --- jquery.marquee.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.marquee.js b/jquery.marquee.js index 0e67b2c..434496d 100644 --- a/jquery.marquee.js +++ b/jquery.marquee.js @@ -128,7 +128,7 @@ verticalDir = o.direction == 'up' || o.direction == 'down'; //no gap if not duplicated - o.gap = o.duplicated ? o.gap : 0; + o.gap = o.duplicated ? parseInt(o.gap) : 0; //wrap inner content into a div $this.wrapInner('
');