diff options
author | FChannel <> | 2021-06-29 14:04:13 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-29 14:04:13 -0700 |
commit | a81f3ef5cfe72b9edf345564fc31361650f15110 (patch) | |
tree | 862ff930b44c62435c375f10cf54afb4053a6d02 /static/posts.html | |
parent | 9b67a65d76eb98a6e405b677a20c6215e1271753 (diff) |
added public instance tracking when instance is created
Diffstat (limited to 'static/posts.html')
-rw-r--r-- | static/posts.html | 4 |
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" |