[tor-commits] [atlas/master] Fix bug with flags not displaying	properly
    art at torproject.org 
    art at torproject.org
       
    Tue Apr  3 21:11:45 UTC 2012
    
    
  
commit 82ae070eb2962e2d72b8a149684251b077df2b68
Author: Arturo Filastò <hellais at gmail.com>
Date:   Thu Mar 22 15:26:09 2012 -0700
    Fix bug with flags not displaying properly
---
 js/models/relay.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/js/models/relay.js b/js/models/relay.js
index 8a617af..7d2d68e 100644
--- a/js/models/relay.js
+++ b/js/models/relay.js
@@ -134,7 +134,8 @@ define([
                 relay.bandwidth = bw;
                 relay.family = relay.family ? relay.family : null;
                 relay.bandwidth_hr = hrBandwidth(bw);
-                relay.countryname = CountryCodes[relay.country.toLowerCase()];
+                relay.country = relay.country.toLowerCase();
+                relay.countryname = CountryCodes[relay.country];
                 relay.uptime = model.parsedate(relay.last_restarted);
                 relay.uptime_hr = relay.uptime.hr;
                 //console.log(relay.uptime.hrfull);
    
    
More information about the tor-commits
mailing list