moved port in tooltip

This commit is contained in:
cubedro
2015-04-17 05:00:22 +03:00
parent 278710246a
commit fdb21c0cbd
2 changed files with 7 additions and 1 deletions

View File

@@ -253,6 +253,12 @@ angular.module('netStatsApp.filters', [])
tooltip.push(string);
}
if(node.info.port !== '') {
string = "Port: <b>" + (typeof node.info.port !== 'undefined' ? node.info.port : '30303') + "</b>";
tooltip.push(string);
}
if(node.info.net !== '') {
string = "Network: <b>" + (typeof node.info.net !== 'undefined' ? node.info.net : '-') + "</b>";