diff options
author | FChannel <> | 2021-06-19 18:26:14 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-19 18:26:14 -0700 |
commit | 6b265b0a8c2e45422f4a4601e041d44e5cef1c1b (patch) | |
tree | 7480eb20d741caa0c0e0b9ae03dee8bfaa739c16 /static/js | |
parent | a257a631ad6c9d6bcb3ae91057ca74a5e1d9515c (diff) |
added sensitive content checkbox for upload
Diffstat (limited to 'static/js')
-rw-r--r-- | static/js/footerscript.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/static/js/footerscript.js b/static/js/footerscript.js index b68c3b4..a63f422 100644 --- a/static/js/footerscript.js +++ b/static/js/footerscript.js @@ -3,6 +3,10 @@ var imgArray = [].slice.call(imgs); imgArray.forEach(function(img, i){ img.addEventListener("click", function(e){ + var id = img.getAttribute("id") + var media = document.getElementById("media-" + id) + var sensitive = document.getElementById("sensitive-" + id) + if(img.getAttribute("enlarge") == "0") { var attachment = img.getAttribute("attachment") |