summaryrefslogtreecommitdiff
path: root/data/js
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-12-06 13:46:23 +0100
committerYorhel <git@yorhel.nl>2019-12-06 13:46:25 +0100
commitae57074d9ea7c1daebd46eba02dabd165fb60141 (patch)
tree4a2554822bfac47b4a8f5f4492957915bddd6702 /data/js
parentcd57e89ecfadbdc49b02fc0d19c043cdf7229a66 (diff)
Handle BBCode spoiler tags in CSS
Also fixes the hover effect for threads, which I broke earlier due to the threads moving to v2rw.js.
Diffstat (limited to 'data/js')
-rw-r--r--data/js/misc.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/data/js/misc.js b/data/js/misc.js
index 54c6ae69..e5b135d0 100644
--- a/data/js/misc.js
+++ b/data/js/misc.js
@@ -80,16 +80,6 @@ if(byId('listsel'))
};
-// BBCode spoiler tags
-(function(){
- var l = byClass('b', 'spoiler');
- for(var i=0; i<l.length; i++) {
- l[i].onmouseover = function() { setClass(this, 'spoiler', false); setClass(this, 'spoiler_shown', true) };
- l[i].onmouseout = function() { setClass(this, 'spoiler', true); setClass(this, 'spoiler_shown', false) };
- }
-})();
-
-
// 'more' / 'less' summarization of some boxes on VN pages
(function(){
function set(o, h) {