diff options
Diffstat (limited to 'app/javascript/mastodon/main.js')
-rw-r--r-- | app/javascript/mastodon/main.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/mastodon/main.js b/app/javascript/mastodon/main.js index bda51f692..91d36405b 100644 --- a/app/javascript/mastodon/main.js +++ b/app/javascript/mastodon/main.js @@ -13,9 +13,9 @@ function main() { if (window.history && history.replaceState) { const { pathname, search, hash } = window.location; const path = pathname + search + hash; - if (!(/^\/web($|\/)/).test(path)) { - history.replaceState(null, document.title, `/web${path}`); - } + //if (!(/^\/web($|\/)/).test(path)) { + // history.replaceState(null, document.title, `/web${path}`); + //} } ready(() => { |