Fire IndexRefresh event on Tinyboard/vichan boards.
This commit is contained in:
parent
99d01bf59b
commit
ee4e72e40f
@ -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
|
||||
|
||||
|
||||
@ -4,7 +4,6 @@ SW.tinyboard =
|
||||
threadModTimeIgnoresSage: true
|
||||
|
||||
disabledFeatures: [
|
||||
'Index Generator'
|
||||
'Resurrect Quotes'
|
||||
'Quick Reply Personas'
|
||||
'Quick Reply'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user