From 50485bedfd9818165aa1d039d0abe95a559134b7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 8 Feb 2019 08:31:03 +0100 Subject: Merging upstream version 1.12.0. Signed-off-by: Daniel Baumann --- web/gui/src/dashboard.js/options.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/gui/src/dashboard.js/options.js') diff --git a/web/gui/src/dashboard.js/options.js b/web/gui/src/dashboard.js/options.js index 653740a8d..68132e7b2 100644 --- a/web/gui/src/dashboard.js/options.js +++ b/web/gui/src/dashboard.js/options.js @@ -18,7 +18,7 @@ if (typeof netdataIcons === 'object') { // if (NETDATA.icons.hasOwnProperty(icon) && typeof(netdataIcons[icon]) === 'string') // NETDATA.icons[icon] = netdataIcons[icon]; // } - for (const icon of Object.keys(NETDATA.icons)) { + for (var icon of Object.keys(NETDATA.icons)) { if (typeof(netdataIcons[icon]) === 'string') { NETDATA.icons[icon] = netdataIcons[icon] } @@ -38,7 +38,7 @@ if (typeof netdataShowAlarms === 'undefined') { } if (typeof netdataRegistryAfterMs !== 'number' || netdataRegistryAfterMs < 0) { - netdataRegistryAfterMs = 1500; + netdataRegistryAfterMs = 0; // 1500; } if (typeof netdataRegistry === 'undefined') { -- cgit v1.2.3