From ee4e72e40fba66a13fb2f534128127dc0d910251 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 21 Jul 2019 08:47:47 -0700 Subject: [PATCH] Fire IndexRefresh event on Tinyboard/vichan boards. --- src/General/Index.coffee | 4 ++-- src/site/SW.tinyboard.coffee | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 7164acd18..d94ffef44 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -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 diff --git a/src/site/SW.tinyboard.coffee b/src/site/SW.tinyboard.coffee index 333bafc1b..b848e7bf2 100644 --- a/src/site/SW.tinyboard.coffee +++ b/src/site/SW.tinyboard.coffee @@ -4,7 +4,6 @@ SW.tinyboard = threadModTimeIgnoresSage: true disabledFeatures: [ - 'Index Generator' 'Resurrect Quotes' 'Quick Reply Personas' 'Quick Reply'