Don't build reply excerpts in catalog if 'Catalog Hover Expand' is off.
This commit is contained in:
parent
a5cc57c38f
commit
b63d5bb892
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user