diff --git a/src/General/Header.coffee b/src/General/Header.coffee index cf3c02728..bc0852f03 100755 --- a/src/General/Header.coffee +++ b/src/General/Header.coffee @@ -259,7 +259,7 @@ Header = return a.firstChild # Its text node. if /-expired/.test t - if boardID not in ['b', 'f'] + if boardID not in ['b', 'f', 'trash'] a.href = "/#{boardID}/archive" else return a.firstChild # Its text node. diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 9efd4245b..48fe6458a 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -58,7 +58,7 @@ Index = @navLinks = $.el 'div', className: 'navLinks' $.extend @navLinks, <%= importHTML('Features/Index-navlinks') %> $('.cataloglink a', @navLinks).href = CatalogLinks.catalog() - $('.archlistlink', @navLinks).hidden = true if g.BOARD.ID is 'b' + $('.archlistlink', @navLinks).hidden = true if g.BOARD.ID in ['b', 'trash'] @searchInput = $ '#index-search', @navLinks @setupSearch() @hideLabel = $ '#hidden-label', @navLinks diff --git a/src/General/Main.coffee b/src/General/Main.coffee index dbf18d700..3dbc5b3cd 100755 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -30,7 +30,7 @@ Main = else 'index' return if g.VIEW is 'catalog' and g.BOARD.ID is 'f' - return if g.VIEW is 'archive' and g.BOARD.ID in ['b', 'f'] + return if g.VIEW is 'archive' and g.BOARD.ID in ['b', 'f', 'trash'] if g.VIEW is 'thread' g.THREADID = +pathname[3] diff --git a/src/General/lib/databoard.class b/src/General/lib/databoard.class index 106d1ce39..88494e607 100755 --- a/src/General/lib/databoard.class +++ b/src/General/lib/databoard.class @@ -83,7 +83,7 @@ class DataBoard ajaxClean: (boardID) -> $.cache "//a.4cdn.org/#{boardID}/threads.json", (e1) => if e1.target.status is 200 - if boardID in ['b', 'f'] + if boardID in ['b', 'f', 'trash'] @ajaxCleanParse boardID, e1.target.response else $.cache "//a.4cdn.org/#{boardID}/archive.json", (e2) =>