diff --git a/src/General/Main.coffee b/src/General/Main.coffee index a56288c40..a1ddbf986 100755 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -16,7 +16,8 @@ Main = 'index' if g.VIEW is 'thread' 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 # flatten Config into Conf