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

View File

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

View File

@ -1,7 +1,7 @@
Navigate = Navigate =
path: window.location.pathname path: window.location.pathname
init: -> 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 -> $.ready ->
# blink/webkit throw a popstate on page load. Not what we want. # blink/webkit throw a popstate on page load. Not what we want.

View File

@ -1,6 +1,6 @@
FappeTyme = FappeTyme =
init: -> 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"] for type in ["Fappe", "Werk"] when Conf["#{type} Tyme"]
lc = type.toLowerCase() lc = type.toLowerCase()

View File

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