From 2639ce12f2af5a08e5964d9a3e564f30d04b5edb Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 6 Aug 2019 22:43:39 -0700 Subject: [PATCH] Fix error from Catalog Links feature in native catalog when /f/ is in the custom board list. #2390 --- 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 1e2c8bc9f..75a5e1e7d 100644 --- a/src/Miscellaneous/CatalogLinks.coffee +++ b/src/Miscellaneous/CatalogLinks.coffee @@ -68,7 +68,7 @@ CatalogLinks = continue unless ( siteID and boardID and VIEW in ['index', 'catalog'] and - (a.dataset.indexOptions or a.href.replace(tail, '') is Get.url(VIEW, {siteID, boardID}).replace(tail, '')) + (a.dataset.indexOptions or a.href.replace(tail, '') is (Get.url(VIEW, {siteID, boardID}) or '').replace(tail, '')) ) $.extend a.dataset, {siteID, boardID}