diff --git a/customize.dist/fsStore.js b/customize.dist/fsStore.js index dcf36927b..2b474a378 100644 --- a/customize.dist/fsStore.js +++ b/customize.dist/fsStore.js @@ -175,7 +175,8 @@ define([ if (!o && n) { window.location.reload(); } else if (o && !n) { - window.location.reload(); + //window.location.reload(); + window.location.href = '/'; } }); diff --git a/www/common/toolbar.js b/www/common/toolbar.js index a118dcf62..810646e24 100644 --- a/www/common/toolbar.js +++ b/www/common/toolbar.js @@ -439,7 +439,7 @@ define([ $userAdmin.find('a.logout').click(function (e) { Cryptpad.logout(); - window.location.reload(); + window.location.href = '/'; }); $userAdmin.find('a.login').click(function (e) { window.open('/user');