diff --git a/public/js/filters.js b/public/js/filters.js
index ed086b4..34da5c8 100644
--- a/public/js/filters.js
+++ b/public/js/filters.js
@@ -221,23 +221,6 @@ angular.module('netStatsApp.filters', [])
var tooltip = [];
var string = '';
- if(node.geo !== null)
- {
- string = "Location: ";
-
- if(node.geo.city !== '')
- string += node.geo.city + ", ";
- string += node.geo.country + "";
-
- tooltip.push(string);
- }
-
- if(node.info.contact !== '') {
- string = "Contact: " + (typeof node.info.contact !== 'undefined' ? node.info.contact : '-') + "";
-
- 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: ";
+
+ if(node.geo.city !== '')
+ string += node.geo.city + ", ";
+ string += node.geo.country + "";
+
+ tooltip.push(string);
+ }
+
+ if(node.info.contact !== '') {
+ string = "Contact: " + (typeof node.info.contact !== 'undefined' ? node.info.contact : '-') + "";
+
+ tooltip.push(string);
+ }
+
return tooltip.join("
");
};
})