From 2a584299d664ae03e3ba7bf8ad0b09e7911f68bb Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 9 Feb 2015 10:19:36 -0800 Subject: [PATCH] The `Catalog Links` feature no longer forces a non-catalog index mode if the header menu item is unchecked. --- src/Miscellaneous/CatalogLinks.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Miscellaneous/CatalogLinks.coffee b/src/Miscellaneous/CatalogLinks.coffee index f95b3a684..8eb086af4 100755 --- a/src/Miscellaneous/CatalogLinks.coffee +++ b/src/Miscellaneous/CatalogLinks.coffee @@ -65,7 +65,7 @@ CatalogLinks = # Href is easier than pathname because then we don't have # conditions where External Catalog has been disabled between switches. - a.href = CatalogLinks[if useCatalog then 'catalog' else 'index'] board + a.href = if useCatalog then CatalogLinks.catalog(board) else "/#{board}/" CatalogLinks.el.title = "Turn catalog links #{if useCatalog then 'off' else 'on'}." $('input', CatalogLinks.el).checked = useCatalog