diff --git a/src/General/Header.coffee b/src/General/Header.coffee index 939582a8f..1a7087b00 100755 --- a/src/General/Header.coffee +++ b/src/General/Header.coffee @@ -173,7 +173,7 @@ Header = return unless boardnav boardnav = boardnav.replace /(\r\n|\n|\r)/g, ' ' as = $$ '#full-board-list a[title]', Header.boardList - nodes = boardnav.match(/[\w@]+(-(all|title|replace|full|index|catalog|archive|text:"[^"]+"(,"[^"]+")?))*|[^\w@]+/g).map (t) -> + nodes = boardnav.match(/[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|text:"[^"]+"(,"[^"]+")?))*|[^\w@]+/g).map (t) -> if /^[^\w@]/.test t return $.tn t text = url = null @@ -222,6 +222,12 @@ Header = else return $.tn a.textContent + if /-expired/.test t + if boardID not in ['b', 'f'] + a.href = "/#{boardID}/archive" + else + return $.tn a.textContent + $.addClass a, 'navSmall' if boardID is '@' return a $.tn t diff --git a/src/General/html/Settings/Advanced.html b/src/General/html/Settings/Advanced.html index 5d5dc1305..c93ac9c33 100755 --- a/src/General/html/Settings/Advanced.html +++ b/src/General/html/Settings/Advanced.html @@ -19,6 +19,7 @@
g can be changed to a different board ID (a, b, etc...), the current board (current), or the Twitter link (@).gg-archiveg-expiredg-titleg-replaceg-full