Merge pull request #785 from notFloran/webui-fix-first-loading

[WebUI] Dont wait before first loading
This commit is contained in:
Nicolas Hennion 2016-01-25 21:17:01 +01:00
commit dbb97a5344

View File

@ -101,6 +101,7 @@ glancesApp.controller('statsController', function ($scope, $rootScope, $interval
var stop;
$scope.configure_refresh = function () {
$scope.refreshData();
if (!angular.isDefined(stop)) {
stop = $interval(function () {
$scope.refreshData();