Disable Auto-Gif in /wsg/ too. Close #532

This commit is contained in:
Nicolas Stepien 2012-06-08 19:13:28 +02:00
parent 3e9b5b029e
commit 4ea03ae491
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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