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('
');