diff --git a/web/templates/head.html b/web/templates/head.html index 14b447325f..2578773767 100644 --- a/web/templates/head.html +++ b/web/templates/head.html @@ -86,13 +86,13 @@ headers: { 'X-MM-TokenIndex': mm_session_token_index, 'Accept-Language': mm_locale - } + } }); } else { $.ajaxSetup({ headers: { 'Accept-Language': mm_locale - } + } }); } @@ -116,7 +116,7 @@ } console.log('detected login from a different tab'); - window.location.href = '/' + window.mm_team.name; + location.reload(); } }); });