about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/util/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/flavours/glitch/util/main.js')
-rw-r--r--app/javascript/flavours/glitch/util/main.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/javascript/flavours/glitch/util/main.js b/app/javascript/flavours/glitch/util/main.js
index c00210677..b76826481 100644
--- a/app/javascript/flavours/glitch/util/main.js
+++ b/app/javascript/flavours/glitch/util/main.js
@@ -28,11 +28,6 @@ function main() {
       store.dispatch(registerPushNotifications.register());
     }
     perf.stop('main()');
-
-    // remember the initial URL
-    if (window.history && typeof window._mastoInitialHistoryLen === 'undefined') {
-      window._mastoInitialHistoryLen = window.history.length;
-    }
   });
 }