aboutsummaryrefslogtreecommitdiff
path: root/static/ncatalog.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/ncatalog.html')
-rw-r--r--static/ncatalog.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/ncatalog.html b/static/ncatalog.html
index cbb3ae8..fc2dabf 100644
--- a/static/ncatalog.html
+++ b/static/ncatalog.html
@@ -52,7 +52,7 @@
media.style = "display: none;"
}
- if(isOnion("{{ .Id }}")) {
+ if(isOnion("{{ .Id }}") && !isOnion("{{ $board.Domain }}")) {
sensitive = document.getElementById("sensitive-{{ .Id }}")
document.getElementById("sensitive-img-{{ .Id }}").src = "/static/onion.png"
document.getElementById("sensitive-text-{{ .Id }}").innerText = "Tor Instance"