From 9b67a65d76eb98a6e405b677a20c6215e1271753 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Mon, 28 Jun 2021 20:45:56 -0700 Subject: tor placeholder image for catalog page --- static/posts.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/posts.html') diff --git a/static/posts.html b/static/posts.html index 8052767..cdefd14 100644 --- a/static/posts.html +++ b/static/posts.html @@ -35,7 +35,7 @@ if(isOnion("{{ .Id }}")) { sensitive = document.getElementById("sensitive-{{ .Id }}") document.getElementById("sensitive-img-{{ .Id }}").src = "/static/onion.png" - document.getElementById("sensitive-text-{{ .Id }}").innerText = "Tor Node" + document.getElementById("sensitive-text-{{ .Id }}").innerText = "Tor Instance" hide = document.getElementById("hide-{{ .Id }}") sensitive.onclick = function(){document.getElementById("media-{{ .Id }}").style="display: block;"; document.getElementById("sensitive-{{ .Id }}").style="display: none;"; document.getElementById("hide-{{ .Id }}").style="display: block; cursor: pointer;"} hide.onclick = function(){document.getElementById("media-{{ .Id }}").style="display: none;"; document.getElementById("sensitive-{{ .Id }}").style="display: block;"; document.getElementById("hide-{{ .Id }}").style="display: none;"} @@ -126,7 +126,7 @@ if(isOnion("{{ .Id }}")) { sensitive = document.getElementById("sensitive-{{ .Id }}") document.getElementById("sensitive-img-{{ .Id }}").src = "/static/onion.png" - document.getElementById("sensitive-text-{{ .Id }}").innerText = "Tor Node" + document.getElementById("sensitive-text-{{ .Id }}").innerText = "Tor Instance" hide = document.getElementById("hide-{{ .Id }}") sensitive.onclick = function(){document.getElementById("media-{{ .Id }}").style="display: block;"; document.getElementById("sensitive-{{ .Id }}").style="display: none;"; document.getElementById("hide-{{ .Id }}").style="display: block; cursor: pointer;"} hide.onclick = function(){document.getElementById("media-{{ .Id }}").style="display: none;"; document.getElementById("sensitive-{{ .Id }}").style="display: block;"; document.getElementById("hide-{{ .Id }}").style="display: none;"} -- cgit v1.2.3