Browse Source

Fix minor bug when option is not defined (#2486)

* Fix redraw order

* Fix error when option is not defined
readme-improvements
yotamberk 8 years ago
committed by GitHub
parent
commit
01aada74e4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/timeline/Timeline.js

+ 2
- 1
lib/timeline/Timeline.js View File

@ -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 = [];

Loading…
Cancel
Save