diff options
author | FChannel <> | 2021-06-28 20:45:56 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-28 20:45:56 -0700 |
commit | 9b67a65d76eb98a6e405b677a20c6215e1271753 (patch) | |
tree | c70109d50a97624820d090c53e53a3965404a684 /static/posts.html | |
parent | 2e53eddedd4b3e5c444bea5a101a719cba3a4cc9 (diff) |
tor placeholder image for catalog page
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 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;"} |