From 6a1851cd77f09dacb6c84205c65ee17866a083db Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Mon, 28 Jun 2021 20:27:14 -0700 Subject: added onion temp fix for error in null element --- static/faq.html | 2 +- static/onion.png | Bin 0 -> 107039 bytes static/posts.html | 6 ++---- 3 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 static/onion.png diff --git a/static/faq.html b/static/faq.html index 12bf284..2365c3e 100644 --- a/static/faq.html +++ b/static/faq.html @@ -37,7 +37,7 @@

coming soon(tm).

Server Version

-

v0.0.2

+

v0.0.3

[Home][Rules][FAQ] diff --git a/static/onion.png b/static/onion.png new file mode 100644 index 0000000..0cb9527 Binary files /dev/null and b/static/onion.png differ diff --git a/static/posts.html b/static/posts.html index 194c273..a086bdb 100644 --- a/static/posts.html +++ b/static/posts.html @@ -34,7 +34,7 @@ if(isOnion("{{ .Id }}")) { sensitive = document.getElementById("sensitive-{{ .Id }}") - document.getElementById("sensitive-img-{{ .Id }}").src = "/static/clover.png" + document.getElementById("sensitive-img-{{ .Id }}").src = "/static/onion.png" document.getElementById("sensitive-text-{{ .Id }}").innerText = "Tor Node" 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;"} @@ -107,10 +107,8 @@ [Mark Sensitive] {{ end }} File {{ (index .Attachment 0).Name }} ({{ (index .Attachment 0).Size }}) - {{ if and .Sensitive $board.Actor.Restricted }} - {{ end }}