From 4ea03ae49146e6f7dfcf247c0a5110ce2d9b4ad8 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Fri, 8 Jun 2012 19:13:28 +0200 Subject: [PATCH] Disable Auto-Gif in /wsg/ too. Close #532 --- 4chan_x.user.js | 3 ++- script.coffee | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 05c2d754c..9f587efb7 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3750,7 +3750,8 @@ AutoGif = { init: function() { - if (g.BOARD === 'gif') { + var _ref; + if ((_ref = g.BOARD) === 'gif' || _ref === 'wsg') { return; } return Main.callbacks.push(this.node); diff --git a/script.coffee b/script.coffee index a24ebc1e3..23f984b36 100644 --- a/script.coffee +++ b/script.coffee @@ -2849,7 +2849,7 @@ ImageHover = AutoGif = init: -> - return if g.BOARD is 'gif' + return if g.BOARD in ['gif', 'wsg'] Main.callbacks.push @node node: (post) -> {img} = post