mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-29 04:04:03 +03:00
Merge pull request #785 from notFloran/webui-fix-first-loading
[WebUI] Dont wait before first loading
This commit is contained in:
commit
dbb97a5344
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user