From 96b12d55fb15fae1081099222f4f51cf326bd150 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 4 Aug 2017 14:37:21 +0200 Subject: [PATCH] add a return --- customize.dist/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/customize.dist/main.js b/customize.dist/main.js index b25186e05..2cf0ae61f 100644 --- a/customize.dist/main.js +++ b/customize.dist/main.js @@ -27,6 +27,7 @@ define([ if (Cryptpad.isLoggedIn()) { if (window.location.pathname === '/') { window.location = '/drive/'; + return; } var name = localStorage[Cryptpad.userNameKey] || sessionStorage[Cryptpad.userNameKey];