The Catalog Links feature no longer forces a non-catalog index mode if the header menu item is unchecked.
This commit is contained in:
parent
16c7c224de
commit
2a584299d6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user