change /res/ URLs to /thread/ so our quote links don't reload the page
This commit is contained in:
parent
ac59c19991
commit
da8ba3cf8c
@ -16,7 +16,8 @@ Main =
|
|||||||
'index'
|
'index'
|
||||||
if g.VIEW is 'thread'
|
if g.VIEW is 'thread'
|
||||||
g.THREADID = +pathname[3]
|
g.THREADID = +pathname[3]
|
||||||
if pathname.length > 4
|
if pathname[2] isnt 'thread' or pathname.length > 4
|
||||||
|
pathname[2] = 'thread'
|
||||||
history.replaceState null, '', pathname.slice(0,4).join('/') + location.hash
|
history.replaceState null, '', pathname.slice(0,4).join('/') + location.hash
|
||||||
|
|
||||||
# flatten Config into Conf
|
# flatten Config into Conf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user