From 38cdcf23bb35a3567816acb8154806ccde70fd2e Mon Sep 17 00:00:00 2001 From: Manuel Schallar Date: Thu, 11 Jun 2015 12:07:01 +0200 Subject: [PATCH] accessing the correct properties in dataRange + replaced property name 'start' to 'min' + replaced property name 'end' to 'max' --- lib/timeline/Core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/timeline/Core.js b/lib/timeline/Core.js index e9176360..5c795990 100644 --- a/lib/timeline/Core.js +++ b/lib/timeline/Core.js @@ -459,7 +459,7 @@ Core.prototype.getVisibleItems = function() { Core.prototype.fit = function(options) { var range = this.getDataRange(); - // skip range set if there is no start and end date + // skip range set if there is no min and max date if (range.min === null && range.max === null) { return; }