[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [atlas/master] Fixes bridge display in search view
commit a6a5b94bf9a0ec576fb39bceb2638f1f8e850a8f
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date: Tue Nov 21 16:31:37 2017 +0000
Fixes bridge display in search view
---
js/collections/results.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/js/collections/results.js b/js/collections/results.js
index 182beee..c64bdf0 100644
--- a/js/collections/results.js
+++ b/js/collections/results.js
@@ -26,12 +26,14 @@ define([
crelay = new relayModel;
crelay.fingerprint = relay.fingerprint;
crelay.relay = relay;
+ crelay.relay.is_bridge = false;
relays.push(crelay);
});
_.each(response.bridges, function(relay, resultsC) {
crelay = new relayModel;
crelay.fingerprint = relay.hashed_fingerprint;
crelay.relay = relay;
+ crelay.relay.is_bridge = true;
relays.push(crelay);
});
if (relays.length == 0) {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits