@cryptotaxi247 / netdata-1 / commits / a6fa13cd8

commented out debug logs

Costa Tsaousis (ktsaou) committed Oct 29, 2017 at 00:28 UTC a6fa13cd8bb3ccb92e435fd8146ec165778167ac
1 file changed +5 -5
web/dashboard.js
+5 -5
@@ -1899,7 +1899,7 @@ var NETDATA = window.NETDATA || {};
1899
1900 // return true if global selection sync can be enabled now
1901 enabled: function() {
1902 - console.log('enabled()');
1902 + // console.log('enabled()');
1903 // can we globally apply selection sync?
1904 if(NETDATA.options.current.sync_selection === false)
1905 return false;
@@ -1909,7 +1909,7 @@ var NETDATA = window.NETDATA || {};
1909
1910 // set the global selection sync master
1911 setMaster: function(state) {
1912 - console.log('setMaster()');
1912 + // console.log('setMaster()');
1913 if(NETDATA.options.current.sync_selection === false || this.state === state)
1914 return;
1915
@@ -1934,7 +1934,7 @@ var NETDATA = window.NETDATA || {};
1934
1935 // stop global selection sync
1936 stop: function() {
1937 - console.log('stop()');
1937 + // console.log('stop()');
1938 if(this.state !== null) {
1939 var len = this.slaves.length;
1940 while (len--)
@@ -1950,7 +1950,7 @@ var NETDATA = window.NETDATA || {};
1950
1951 // delay global selection sync for some time
1952 delay: function(ms) {
1953 - console.log('delay()');
1953 + // console.log('delay()');
1954
1955 if(this.state !== null && NETDATA.options.current.sync_selection === true) {
1956 if(typeof ms === 'number')
@@ -1972,7 +1972,7 @@ var NETDATA = window.NETDATA || {};
1972 // sync all the visible charts to the given time
1973 // this is to be called from the chart libraries
1974 sync: function(state, t) {
1975 - console.log('sync()');
1975 + // console.log('sync()');
1976
1977 if(NETDATA.options.current.sync_selection === true) {
1978 if(this.state !== state)