summaryrefslogtreecommitdiff
path: root/data/js
diff options
context:
space:
mode:
authorzx14 <zx14@vndb.org>2018-10-22 08:30:53 +0700
committerAlexander-- <alexander.r@gmx.com>2018-10-23 00:04:14 +0700
commit22b070a421fd15435cd10d4084fea05526660c11 (patch)
treed9a07b5173f63f266510f1937f2d4ec529f3fb3e /data/js
parentca1117d0d6476b94466eb99a79571e495071a90a (diff)
Add JS-less NSFW toggle
Diffstat (limited to 'data/js')
-rw-r--r--data/js/misc.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/data/js/misc.js b/data/js/misc.js
index 81f2890f..57c40ba5 100644
--- a/data/js/misc.js
+++ b/data/js/misc.js
@@ -79,25 +79,6 @@ if(byId('listsel'))
ulist_redirect('[rv]', '/list', this.name, 'e='+this.options[this.selectedIndex].value);
};
-
-// NSFW VN image toggle (/v+)
-(function() {
- var msg = byId('nsfw_show');
- if(msg) {
- var img = byId('nsfw_hid');
- byName(msg, 'a')[0].onclick = function() {
- setClass(msg, 'hidden', true);
- setClass(img, 'hidden', false);
- return false;
- };
- img.onclick = function() {
- setClass(msg, 'hidden', false);
- setClass(img, 'hidden', true);
- };
- }
-})();
-
-
// NSFW toggle for screenshots (/v+)
if(byId('nsfwhide'))
byId('nsfwhide').onclick = function() {