From a37438df4deece1c2512be1dfb726dd012c6c3e7 Mon Sep 17 00:00:00 2001 From: cubedro Date: Fri, 17 Apr 2015 05:16:01 +0300 Subject: [PATCH] moved port 2 rows down --- public/js/filters.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 + "";