Write config option. Don't use config option. :/

This commit is contained in:
Zixaphir 2013-08-20 09:09:09 -07:00
parent 8fde4ef520
commit 41ebd42722
3 changed files with 3 additions and 3 deletions

View File

@ -8818,7 +8818,7 @@
init: function() {
var el;
if (g.VIEW === 'catalog' || g.BOARD === 'f') {
if (g.VIEW === 'catalog' || g.BOARD === 'f' || !Conf['Gallery']) {
return;
}
el = $.el('a', {

View File

@ -8806,7 +8806,7 @@
init: function() {
var el;
if (g.VIEW === 'catalog' || g.BOARD === 'f') {
if (g.VIEW === 'catalog' || g.BOARD === 'f' || !Conf['Gallery']) {
return;
}
el = $.el('a', {

View File

@ -1,6 +1,6 @@
Gallery =
init: ->
return if g.VIEW is 'catalog' or g.BOARD is 'f'
return if g.VIEW is 'catalog' or g.BOARD is 'f' or !Conf['Gallery']
el = $.el 'a',
href: 'javascript:;'