Fire IndexRefresh event on Tinyboard/vichan boards.
This commit is contained in:
parent
99d01bf59b
commit
ee4e72e40f
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user