diff --git a/lib/timeline/Timeline.js b/lib/timeline/Timeline.js index 8abe0182..0d4b62e3 100644 --- a/lib/timeline/Timeline.js +++ b/lib/timeline/Timeline.js @@ -70,7 +70,8 @@ function Timeline (container, items, groups, options) { } else { this.options.rtl = options.rtl; } - this.options.rollingMode = options.rollingMode; + + this.options.rollingMode = options && options.rollingMode; // all components listed here will be repainted automatically this.components = [];