Remove more references to the non-existent "catalog" view

This commit is contained in:
Zixaphir 2014-03-06 22:36:42 -07:00
parent 9ba951ca48
commit c7e5833dc9
5 changed files with 12 additions and 12 deletions

View File

@ -7539,7 +7539,7 @@
FappeTyme = {
init: function() {
var el, input, lc, type, _i, _len, _ref;
if (!(Conf['Fappe Tyme'] || Conf['Werk Tyme']) || g.VIEW === 'catalog' || g.BOARD === 'f') {
if (!(Conf['Fappe Tyme'] || Conf['Werk Tyme']) || g.BOARD === 'f') {
return;
}
_ref = ["Fappe", "Werk"];
@ -7591,7 +7591,7 @@
Gallery = {
init: function() {
var el;
if (g.VIEW === 'catalog' || g.BOARD === 'f' || !Conf['Gallery']) {
if (g.BOARD === 'f' || !Conf['Gallery']) {
return;
}
el = $.el('a', {
@ -7844,7 +7844,7 @@
menu: {
init: function() {
var createSubEntry, el, name, subEntries;
if (g.VIEW === 'catalog' || !Conf['Gallery']) {
if (!Conf['Gallery']) {
return;
}
el = $.el('span', {
@ -12558,7 +12558,7 @@
Navigate = {
path: window.location.pathname,
init: function() {
if (g.VIEW === 'catalog' || g.BOARD.ID === 'f' || !Conf['JSON Navigation']) {
if (g.BOARD.ID === 'f' || !Conf['JSON Navigation']) {
return;
}
$.ready(function() {

View File

@ -7576,7 +7576,7 @@
FappeTyme = {
init: function() {
var el, input, lc, type, _i, _len, _ref;
if (!(Conf['Fappe Tyme'] || Conf['Werk Tyme']) || g.VIEW === 'catalog' || g.BOARD === 'f') {
if (!(Conf['Fappe Tyme'] || Conf['Werk Tyme']) || g.BOARD === 'f') {
return;
}
_ref = ["Fappe", "Werk"];
@ -7628,7 +7628,7 @@
Gallery = {
init: function() {
var el;
if (g.VIEW === 'catalog' || g.BOARD === 'f' || !Conf['Gallery']) {
if (g.BOARD === 'f' || !Conf['Gallery']) {
return;
}
el = $.el('a', {
@ -7881,7 +7881,7 @@
menu: {
init: function() {
var createSubEntry, el, name, subEntries;
if (g.VIEW === 'catalog' || !Conf['Gallery']) {
if (!Conf['Gallery']) {
return;
}
el = $.el('span', {
@ -12572,7 +12572,7 @@
Navigate = {
path: window.location.pathname,
init: function() {
if (g.VIEW === 'catalog' || g.BOARD.ID === 'f' || !Conf['JSON Navigation']) {
if (g.BOARD.ID === 'f' || !Conf['JSON Navigation']) {
return;
}
$.ready(function() {

View File

@ -1,7 +1,7 @@
Navigate =
path: window.location.pathname
init: ->
return if g.VIEW is 'catalog' or g.BOARD.ID is 'f' or !Conf['JSON Navigation']
return if g.BOARD.ID is 'f' or !Conf['JSON Navigation']
$.ready ->
# blink/webkit throw a popstate on page load. Not what we want.

View File

@ -1,6 +1,6 @@
FappeTyme =
init: ->
return if !(Conf['Fappe Tyme'] or Conf['Werk Tyme']) or g.VIEW is 'catalog' or g.BOARD is 'f'
return if !(Conf['Fappe Tyme'] or Conf['Werk Tyme']) or g.BOARD is 'f'
for type in ["Fappe", "Werk"] when Conf["#{type} Tyme"]
lc = type.toLowerCase()

View File

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