Disable Auto-Gif in /wsg/ too. Close #532
This commit is contained in:
parent
3e9b5b029e
commit
4ea03ae491
@ -3750,7 +3750,8 @@
|
|||||||
|
|
||||||
AutoGif = {
|
AutoGif = {
|
||||||
init: function() {
|
init: function() {
|
||||||
if (g.BOARD === 'gif') {
|
var _ref;
|
||||||
|
if ((_ref = g.BOARD) === 'gif' || _ref === 'wsg') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return Main.callbacks.push(this.node);
|
return Main.callbacks.push(this.node);
|
||||||
|
|||||||
@ -2849,7 +2849,7 @@ ImageHover =
|
|||||||
|
|
||||||
AutoGif =
|
AutoGif =
|
||||||
init: ->
|
init: ->
|
||||||
return if g.BOARD is 'gif'
|
return if g.BOARD in ['gif', 'wsg']
|
||||||
Main.callbacks.push @node
|
Main.callbacks.push @node
|
||||||
node: (post) ->
|
node: (post) ->
|
||||||
{img} = post
|
{img} = post
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user