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: {} changed: {}
init: -> init: ->
return unless g.VIEW is 'index' and g.BOARD.ID isnt 'f' return unless g.VIEW is 'index'
# For IndexRefresh events # For IndexRefresh events
$.one d, '4chanXInitFinished', @cb.initFinished $.one d, '4chanXInitFinished', @cb.initFinished
$.on d, 'PostsInserted', @cb.postsInserted $.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 @enabled = true

View File

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