From b63d5bb892e720e4fbacbe1b69a81e7a6048b8db Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 28 Sep 2016 22:15:23 -0700 Subject: [PATCH] Don't build reply excerpts in catalog if 'Catalog Hover Expand' is off. --- src/General/Index.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 639896bf4..3d4678b9d 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -272,6 +272,7 @@ Index = hover: -> doc.classList.toggle 'catalog-hover-expand', Conf['Catalog Hover Expand'] + Index.cb.replies() if Conf['Show Replies'] and Conf['Catalog Hover Expand'] popstate: (e) -> if e?.state @@ -792,7 +793,7 @@ Index = buildCatalog: (threads) -> Index.buildCatalogViews threads Index.sizeCatalogViews threads - Index.buildCatalogReplies threads if Conf['Show Replies'] + Index.buildCatalogReplies threads if Conf['Show Replies'] and Conf['Catalog Hover Expand'] nodes = [] for thread in threads unless thread.nodes.placeholder