diff options
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" |