Make Normalize URL work on Tinyboard/vichan.

This commit is contained in:
ccd0 2019-07-11 06:03:19 -07:00
parent fa7f2cb20b
commit 5af268c602
2 changed files with 7 additions and 7 deletions

View File

@ -3,6 +3,7 @@ NormalizeURL =
return unless Conf['Normalize URL'] return unless Conf['Normalize URL']
pathname = location.pathname.split /\/+/ pathname = location.pathname.split /\/+/
if g.SITE.software is 'yotsuba'
switch g.VIEW switch g.VIEW
when 'thread' when 'thread'
pathname[2] = 'thread' pathname[2] = 'thread'

View File

@ -3,7 +3,6 @@ SW.tinyboard =
mayLackJSON: true mayLackJSON: true
disabledFeatures: [ disabledFeatures: [
'Normalize URL'
'Index Generator' 'Index Generator'
'Announcement Hiding' 'Announcement Hiding'
'Resurrect Quotes' 'Resurrect Quotes'