Fire IndexRefresh event on Tinyboard/vichan boards.

This commit is contained in:
ccd0 2019-07-21 08:47:47 -07:00
parent 99d01bf59b
commit ee4e72e40f
2 changed files with 2 additions and 3 deletions

View File

@ -3,13 +3,13 @@ Index =
changed: {}
init: ->
return unless g.VIEW is 'index' and g.BOARD.ID isnt 'f'
return unless g.VIEW is 'index'
# For IndexRefresh events
$.one d, '4chanXInitFinished', @cb.initFinished
$.on d, 'PostsInserted', @cb.postsInserted
return unless Conf['JSON Index']
return unless Conf['JSON Index'] and g.SITE.software is 'yotsuba' and g.BOARD.ID isnt 'f'
@enabled = true

View File

@ -4,7 +4,6 @@ SW.tinyboard =
threadModTimeIgnoresSage: true
disabledFeatures: [
'Index Generator'
'Resurrect Quotes'
'Quick Reply Personas'
'Quick Reply'