Browse Source

Fixed #1523: end of data range wrongly determined

codeClimate
jos 9 years ago
parent
commit
df4e3d4e10
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      HISTORY.md
  2. +1
    -1
      lib/timeline/Timeline.js

+ 1
- 0
HISTORY.md View File

@ -15,6 +15,7 @@ http://visjs.org
- Fixed #1491: Problem using ctrl+drag in combination with using a `DataView`, - Fixed #1491: Problem using ctrl+drag in combination with using a `DataView`,
and an issue with ctrl+drag when using `snap: null`. and an issue with ctrl+drag when using `snap: null`.
- Fixed #1486: Item range sometimes wrongly calculated on IE in case of old dates. - Fixed #1486: Item range sometimes wrongly calculated on IE in case of old dates.
- Fixed #1523: end of data range wrongly determined.
### Graph2d ### Graph2d

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

@ -455,7 +455,7 @@ Timeline.prototype.getDataRange = function() {
min = start; min = start;
} }
if (max === null || end > max) { if (max === null || end > max) {
max = start;
max = end;
} }
}); });
} }

Loading…
Cancel
Save