Change this test to test a property.
This commit is contained in:
parent
2eefceaebc
commit
a650efe9ab
@ -267,7 +267,7 @@ ThreadWatcher =
|
|||||||
{siteID, boardID} = board[0]
|
{siteID, boardID} = board[0]
|
||||||
site = g.sites[siteID]
|
site = g.sites[siteID]
|
||||||
return unless site
|
return unless site
|
||||||
urlF = if deep and site.software is 'tinyboard' then 'catalogJSON' else 'threadsListJSON'
|
urlF = if deep and site.threadModTimeIgnoresSage then 'catalogJSON' else 'threadsListJSON'
|
||||||
url = site.urls[urlF]?({siteID, boardID})
|
url = site.urls[urlF]?({siteID, boardID})
|
||||||
return unless url
|
return unless url
|
||||||
ThreadWatcher.fetch url, {siteID, force}, [board, url], ThreadWatcher.parseBoard
|
ThreadWatcher.fetch url, {siteID, force}, [board, url], ThreadWatcher.parseBoard
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
SW.tinyboard =
|
SW.tinyboard =
|
||||||
isOPContainerThread: true
|
isOPContainerThread: true
|
||||||
mayLackJSON: true
|
mayLackJSON: true
|
||||||
|
threadModTimeIgnoresSage: true
|
||||||
|
|
||||||
disabledFeatures: [
|
disabledFeatures: [
|
||||||
'Index Generator'
|
'Index Generator'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user