From d2294049bf92adff1375e414a7e4014ca2567b04 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 23 Feb 2012 20:14:46 +0100 Subject: [PATCH] /vg/, like /b/, has only 3 replies per thread on board pages. --- 4chan_x.user.js | 1 + script.coffee | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index b651da278..ad1b802d8 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -790,6 +790,7 @@ num = (function() { switch (g.BOARD) { case 'b': + case 'vg': return 3; case 't': return 1; diff --git a/script.coffee b/script.coffee index a5cdf93a6..fd0563d8e 100644 --- a/script.coffee +++ b/script.coffee @@ -661,7 +661,7 @@ expandThread = a.textContent = a.textContent.replace '-', '+' #goddamit moot num = switch g.BOARD - when 'b' then 3 + when 'b', 'vg' then 3 when 't' then 1 else 5 table = $.x "following::br[@clear]/preceding::table[#{num}]", a