Thread Expansion only needs to run on the index.

This commit is contained in:
ccd0 2016-09-28 02:26:38 -07:00
parent 0d521655f8
commit a18419a02f

View File

@ -1,7 +1,7 @@
ExpandThread = ExpandThread =
statuses: {} statuses: {}
init: -> init: ->
return if g.VIEW is 'thread' or !Conf['Thread Expansion'] return unless g.VIEW is 'index' and Conf['Thread Expansion']
if Conf['JSON Index'] if Conf['JSON Index']
$.on d, 'IndexRefreshInternal', @onIndexRefresh $.on d, 'IndexRefreshInternal', @onIndexRefresh
else else