diff --git a/4chan_x.user.js b/4chan_x.user.js index f487bbd3a..c8a2cff3e 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -698,7 +698,9 @@ textContent: "[ + ] " + name + " " + trip }); $.bind(a, 'click', replyHiding.cb.show); - div = $.el('div'); + div = $.el('div', { + className: 'stub' + }); $.append(div, a); $.before(table, div); } diff --git a/changelog b/changelog index 203429765..ca4c84b9a 100644 --- a/changelog +++ b/changelog @@ -2,6 +2,7 @@ - custom hotkey binding - image spoiler revealer - optional auto noko + - add a class for reply stubs - fix options centering on Opera - fix append '#watch' only when auto watch is enabled - fix cooldown with the normal post form diff --git a/script.coffee b/script.coffee index 75cb84aaa..3a7a94aaa 100644 --- a/script.coffee +++ b/script.coffee @@ -495,7 +495,8 @@ replyHiding = textContent: "[ + ] #{name} #{trip}" $.bind a, 'click', replyHiding.cb.show - div = $.el 'div' + div = $.el 'div', + className: 'stub' $.append div, a $.before table, div