aboutsummaryrefslogtreecommitdiff
path: root/static/posts.html
diff options
context:
space:
mode:
authorFChannel <>2021-06-29 14:04:13 -0700
committerFChannel <>2021-06-29 14:04:13 -0700
commita81f3ef5cfe72b9edf345564fc31361650f15110 (patch)
tree862ff930b44c62435c375f10cf54afb4053a6d02 /static/posts.html
parent9b67a65d76eb98a6e405b677a20c6215e1271753 (diff)
added public instance tracking when instance is created
Diffstat (limited to 'static/posts.html')
-rw-r--r--static/posts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/posts.html b/static/posts.html
index cdefd14..f7ca3a7 100644
--- a/static/posts.html
+++ b/static/posts.html
@@ -32,7 +32,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"
@@ -123,7 +123,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"