diff --git a/chrome/content/mailhops.js b/chrome/content/mailhops.js index 8ebbb8c..9ec78c5 100644 --- a/chrome/content/mailhops.js +++ b/chrome/content/mailhops.js @@ -9,7 +9,7 @@ var mailHops = msgURI: null, isLoaded: false, options: { - 'version':'MailHops Plugin 3.0.3', + 'version':'MailHops Plugin 3.1.0', 'lan':'en', 'unit':'mi', 'api_http':'https://', @@ -223,7 +223,7 @@ mailHops.getRoute = function(){ received_ips = received_ips.filter(function(item, pos) { return received_ips.indexOf(item) == pos; }); - for( var r=0; r < received_ips.length; r++ ){ + for( var r=received_ips.length; r >= 0 ; r-- ){ if(regexIp.test(received_ips[r]) && mailHops.testIP(received_ips[r],rline)){ all_ips.unshift( received_ips[r] ); } diff --git a/install.rdf b/install.rdf index b2a2e85..e6ff3b5 100644 --- a/install.rdf +++ b/install.rdf @@ -5,7 +5,7 @@ 2 thunderbird@mailhops.com - 3.0.3 + 3.1.0 MailHops MailHops maps the route an email took to get to you. Displaying the senders location, weather, user-agent and authentication used.