preserve hash when removing slugs
This commit is contained in:
parent
5d569321d6
commit
4f8b640e2c
@ -16,7 +16,8 @@ Main =
|
||||
'index'
|
||||
if g.VIEW is 'thread'
|
||||
g.THREADID = +pathname[3]
|
||||
history.replaceState null, '', pathname.slice(0,4).join('/') if pathname.length > 4
|
||||
if pathname.length > 4
|
||||
history.replaceState null, '', pathname.slice(0,4).join('/') + location.hash
|
||||
|
||||
# flatten Config into Conf
|
||||
# and get saved or default values
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user