Browse Source

Fixed #1786: Timeline having zero height on Internet Explorer, regression introduced after fixing #1697

codeClimate
jos 8 years ago
parent
commit
8cde43e4fb
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      HISTORY.md
  2. +1
    -1
      lib/timeline/Core.js

+ 3
- 0
HISTORY.md View File

@ -4,7 +4,10 @@ http://visjs.org
## not yet released, version 4.16.1-SNAPSHOT
### Timeline
- Fixed #1786: Timeline having zero height on Internet Explorer, regression
introduced after fixing #1697.
## 2016-04-07, version 4.16.0

+ 1
- 1
lib/timeline/Core.js View File

@ -640,7 +640,7 @@ Core.prototype._redraw = function() {
var props = this.props;
var dom = this.dom;
if (!dom || !dom.container || dom.root.clientWidth == 0) return; // when destroyed, or invisible
if (!dom || !dom.container || dom.root.offsetWidth == 0) return; // when destroyed, or invisible
DateUtil.updateHiddenDates(this.options.moment, this.body, this.options.hiddenDates);

Loading…
Cancel
Save