diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index b68a1bcdb..594830191 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -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() { diff --git a/builds/crx/script.js b/builds/crx/script.js index 9ac7a1162..f71d41412 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -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() { diff --git a/src/General/Navigate.coffee b/src/General/Navigate.coffee index 685319c28..8a1c9b022 100644 --- a/src/General/Navigate.coffee +++ b/src/General/Navigate.coffee @@ -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. diff --git a/src/Images/FappeTyme.coffee b/src/Images/FappeTyme.coffee index 200907e1d..17376bae2 100755 --- a/src/Images/FappeTyme.coffee +++ b/src/Images/FappeTyme.coffee @@ -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() diff --git a/src/Images/Gallery.coffee b/src/Images/Gallery.coffee index 03215608c..3af2fe112 100644 --- a/src/Images/Gallery.coffee +++ b/src/Images/Gallery.coffee @@ -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'