]> granicus.if.org Git - transmission/commitdiff
(trunk web) fix tracker counts in the filter popup
authorJordan Lee <jordan@transmissionbt.com>
Wed, 24 Aug 2011 03:49:33 +0000 (03:49 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Wed, 24 Aug 2011 03:49:33 +0000 (03:49 +0000)
web/javascript/transmission.js

index 2370fb9583b6b0f19de4d0d022598d6c14e0169d..cc1f53f23d704fa0a6cfafc6ae2c06676e622832 100644 (file)
@@ -2199,7 +2199,7 @@ Transmission.prototype =
                                        var uri = parseUri(tracker.announce);
                                        var domain = this.getDomainName(uri.host);
                                        var name = this.getReadableDomain(domain);
-                                       if (!(name in trackers));
+                                       if (!(name in trackers))
                                                trackers[name] = { 'uri': uri, 'domain': domain, 'count': 0 };
                                        if (names.indexOf(name) === -1)
                                                names.push(name);