diff --git a/src/General/Main.coffee b/src/General/Main.coffee index af2891c90..8af1e3aae 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] - 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