@cryptotaxi247 / netdata-1 / commits / 06b10197f

fixed issues identified by codeclimate

Costa Tsaousis (ktsaou) committed Nov 18, 2017 at 23:04 UTC 06b10197f7d60e743e8ce92b2a91ab6736bfef79
1 file changed +2 -1
web/dashboard.js
+2 -1
@@ -728,6 +728,7 @@ var NETDATA = window.NETDATA || {};
728 });
729 window.addEventListener("test", null, opts);
730 } catch (e) {
731 + console.log('browser does not support passive events');
732 }
733
734 NETDATA.options.passive_events = supportsPassive;
@@ -4995,7 +4996,7 @@ var NETDATA = window.NETDATA || {};
4996
4997 len = parallel.length;
4998 while(len--) {
4998 - var state = parallel[len];
4999 + state = parallel[len];
5000 // console.log('auto-refresher executing in parallel for ' + parallel.length.toString() + ' charts');
5001 // this will execute the jobs in parallel
5002 setTimeout(state.autoRefresh, 0);