From fbdc001519a2de12ec9380060671f4e8b6f0b260 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Fri, 15 Mar 2013 16:07:38 -0700 Subject: [PATCH] Auto-GIF in /gif/ and /wsg/ --- 4chan_x.user.js | 2 +- src/features.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index e41c46b49..edd86f445 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -4908,7 +4908,7 @@ AutoGIF = { init: function() { - if (g.VIEW === 'catalog' || !Conf['Auto-GIF'] || ['gif', 'wsg'].contains(g.BOARD.ID)) { + if (g.VIEW === 'catalog' || !Conf['Auto-GIF']) { return; } return Post.prototype.callbacks.push({ diff --git a/src/features.coffee b/src/features.coffee index 5a10a3de0..f9a197a5d 100644 --- a/src/features.coffee +++ b/src/features.coffee @@ -3270,7 +3270,7 @@ RevealSpoilers = AutoGIF = init: -> - return if g.VIEW is 'catalog' or !Conf['Auto-GIF'] or ['gif', 'wsg'].contains g.BOARD.ID + return if g.VIEW is 'catalog' or !Conf['Auto-GIF'] Post::callbacks.push name: 'Auto-GIF'