[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit a5e7806161544f89f8229516fdb901e87a07fb91
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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) {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits