Changed default duration to fifteen minutes

This commit is contained in:
Henry 2016-07-12 10:14:26 -07:00
parent 088416905d
commit 97f3fd516b

View File

@ -24,7 +24,7 @@ define(
[],
function () {
var SIX_HOURS = 6 * 60 * 60 * 1000;
var FIFTEEN_MINUTES = 15 * 60 * 1000;
function TimeConductorController($scope, $timeout, conductor) {
var self = this;
@ -102,7 +102,7 @@ define(
TimeConductorController.prototype.initialize = function () {
var now = Math.ceil(Date.now() / 1000) * 1000;
//Set the time conductor to some default
this.conductor.bounds({start: now - SIX_HOURS, end: now});
this.conductor.bounds({start: now - FIFTEEN_MINUTES, end: now});
this.$scope.modeModel.selected = 'fixed';
this.conductor.follow(false);