[tor-commits] [flashproxy/master] Make the number on the badge a cumulative counter.

dcf at torproject.org dcf at torproject.org
Mon Apr 9 04:08:43 UTC 2012


commit a5e7806161544f89f8229516fdb901e87a07fb91
Author: David Fifield <david at bamsoftware.com>
Date:   Wed Apr 4 22:42:17 2012 -0700

    Make the number on the badge a cumulative counter.
    
    It was like this before in swfcat.as.
---
 flashproxy.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/flashproxy.js b/flashproxy.js
index 02a564f..25f23fb 100644
--- a/flashproxy.js
+++ b/flashproxy.js
@@ -690,7 +690,7 @@ function Badge()
     }
 
     this.refresh = function() {
-        this.counter_text.innerHTML = escape_html(String(this.num_proxy_pairs));
+        this.counter_text.innerHTML = escape_html(String(this.total_proxy_pairs));
     };
 
     this.set_color = function(color) {





More information about the tor-commits mailing list