diff --git a/assets/static/networkChangeNotifier.js b/assets/static/networkChangeNotifier.js index 22a9d76..b444162 100644 --- a/assets/static/networkChangeNotifier.js +++ b/assets/static/networkChangeNotifier.js @@ -11,20 +11,20 @@ var commonModule = (function () { pub.startWatching = function (_notifyPort, _web3) { notifyPort = _notifyPort; web3 = _web3; - setInterval(checkNetworkId, 100); + // setInterval(checkNetworkId, 100); } - var checkNetworkId = function () { - web3.version.getNetwork(function (e, networkId) { - if (e) { - console.log("error with web3.version.getNetwork: ", e); - } - else if (networkId != lastNetworkId) { - notifyPort.send(parseInt(networkId)); - lastNetworkId = networkId; - } - }); - } + // var checkNetworkId = function () { + // web3.version.getNetwork(function (e, networkId) { + // if (e) { + // console.log("error with web3.version.getNetwork: ", e); + // } + // else if (networkId != lastNetworkId) { + // notifyPort.send(parseInt(networkId)); + // lastNetworkId = networkId; + // } + // }); + // } return pub; })(); diff --git a/docs/404.html b/docs/404.html index 69036af..5ff32e7 100644 --- a/docs/404.html +++ b/docs/404.html @@ -28,6 +28,6 @@
- +