diff --git a/public/js/filters.js b/public/js/filters.js index 34da5c8..53a695d 100644 --- a/public/js/filters.js +++ b/public/js/filters.js @@ -229,19 +229,13 @@ angular.module('netStatsApp.filters', []) eth_version.splice(1,1); } - string = "Ethereum: " + node.info.node + ""; + string = "" + node.info.node + ""; tooltip.push(string); string = "Version: " + (eth_version[1]) + ""; tooltip.push(string); } - if(node.info.port !== '') { - string = "Port: " + (typeof node.info.port !== 'undefined' ? node.info.port : '30303') + ""; - - tooltip.push(string); - } - if(node.info.net !== '') { string = "Network: " + (typeof node.info.net !== 'undefined' ? node.info.net : '-') + ""; @@ -254,6 +248,12 @@ angular.module('netStatsApp.filters', []) tooltip.push(string); } + if(node.info.port !== '') { + string = "Port: " + (typeof node.info.port !== 'undefined' ? node.info.port : '30303') + ""; + + tooltip.push(string); + } + if(node.info.api !== '') { string = "Web3: " + node.info.api + "";