moved location and contact to the bottom

This commit is contained in:
cubedro 2015-04-17 05:11:53 +03:00
parent fdb21c0cbd
commit b019ff6ec8

View File

@ -221,23 +221,6 @@ angular.module('netStatsApp.filters', [])
var tooltip = [];
var string = '';
if(node.geo !== null)
{
string = "Location: <b>";
if(node.geo.city !== '')
string += node.geo.city + ", ";
string += node.geo.country + "</b>";
tooltip.push(string);
}
if(node.info.contact !== '') {
string = "Contact: <b>" + (typeof node.info.contact !== 'undefined' ? node.info.contact : '-') + "</b>";
tooltip.push(string);
}
if(node.info.node !== '') {
var eth_version = node.info.node.split('/');
@ -289,6 +272,23 @@ angular.module('netStatsApp.filters', [])
tooltip.push(string);
}
if(node.geo !== null)
{
string = "Location: <b>";
if(node.geo.city !== '')
string += node.geo.city + ", ";
string += node.geo.country + "</b>";
tooltip.push(string);
}
if(node.info.contact !== '') {
string = "Contact: <b>" + (typeof node.info.contact !== 'undefined' ? node.info.contact : '-') + "</b>";
tooltip.push(string);
}
return tooltip.join("<br>");
};
})