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: ->
|
hover: ->
|
||||||
doc.classList.toggle 'catalog-hover-expand', Conf['Catalog Hover Expand']
|
doc.classList.toggle 'catalog-hover-expand', Conf['Catalog Hover Expand']
|
||||||
|
Index.cb.replies() if Conf['Show Replies'] and Conf['Catalog Hover Expand']
|
||||||
|
|
||||||
popstate: (e) ->
|
popstate: (e) ->
|
||||||
if e?.state
|
if e?.state
|
||||||
@ -792,7 +793,7 @@ Index =
|
|||||||
buildCatalog: (threads) ->
|
buildCatalog: (threads) ->
|
||||||
Index.buildCatalogViews threads
|
Index.buildCatalogViews threads
|
||||||
Index.sizeCatalogViews threads
|
Index.sizeCatalogViews threads
|
||||||
Index.buildCatalogReplies threads if Conf['Show Replies']
|
Index.buildCatalogReplies threads if Conf['Show Replies'] and Conf['Catalog Hover Expand']
|
||||||
nodes = []
|
nodes = []
|
||||||
for thread in threads
|
for thread in threads
|
||||||
unless thread.nodes.placeholder
|
unless thread.nodes.placeholder
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user