Don't build reply excerpts in catalog if 'Catalog Hover Expand' is off.

This commit is contained in:
ccd0 2016-09-28 22:15:23 -07:00
parent a5cc57c38f
commit b63d5bb892

View File

@ -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