Auto-GIF in /gif/ and /wsg/

This commit is contained in:
Zixaphir 2013-03-15 16:07:38 -07:00
parent 8f2619d2f1
commit fbdc001519
2 changed files with 2 additions and 2 deletions

View File

@ -4908,7 +4908,7 @@
AutoGIF = { AutoGIF = {
init: function() { init: function() {
if (g.VIEW === 'catalog' || !Conf['Auto-GIF'] || ['gif', 'wsg'].contains(g.BOARD.ID)) { if (g.VIEW === 'catalog' || !Conf['Auto-GIF']) {
return; return;
} }
return Post.prototype.callbacks.push({ return Post.prototype.callbacks.push({

View File

@ -3270,7 +3270,7 @@ RevealSpoilers =
AutoGIF = AutoGIF =
init: -> 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 Post::callbacks.push
name: 'Auto-GIF' name: 'Auto-GIF'