Skip to content

Commit

Permalink
Update Slider.js
Browse files Browse the repository at this point in the history
  • Loading branch information
joh13010 committed Jan 16, 2017
1 parent de7f1fd commit 212c0d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ function addSlider(fileData) {
maxDateMillis = parseInt(fileData.data[data.data.length - 1].senseStartTimeMillis);
var minDate = new Date(minDateMillis);
var maxDate = new Date(maxDateMillis);
console.log(fileData.data[data.data.length - 1].senseStartTimeMillis);

$("#slider").dateRangeSlider({
arrows: false,
Expand All @@ -27,7 +28,7 @@ function addSlider(fileData) {

function addZero(val) {
if (val < 10) {
return "0" + val;
return "0" + val;
}
else {
return val;
Expand Down

0 comments on commit 212c0d0

Please sign in to comment.