diff --git a/public/app/features/dashboard/timeSrv.js b/public/app/features/dashboard/timeSrv.js index b0e89e32590..833530d69fe 100644 --- a/public/app/features/dashboard/timeSrv.js +++ b/public/app/features/dashboard/timeSrv.js @@ -65,14 +65,11 @@ define([ } }; - this.setAutoRefresh = function (interval, align) { + this.setAutoRefresh = function (interval) { this.dashboard.refresh = interval; if (interval) { var _i = kbn.interval_to_ms(interval); - var wait_ms = 0; - if (align) { - wait_ms = _i - (Date.now() % _i); - } + var wait_ms = _i - (Date.now() % _i); $timeout(function () { self.start_scheduled_refresh(_i); }, wait_ms); diff --git a/public/app/features/dashboard/timepicker/dropdown.html b/public/app/features/dashboard/timepicker/dropdown.html index 7e40b055e9b..8b6d0c24a0c 100644 --- a/public/app/features/dashboard/timepicker/dropdown.html +++ b/public/app/features/dashboard/timepicker/dropdown.html @@ -40,7 +40,6 @@