summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/templates/head.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/templates/head.html b/web/templates/head.html
index 14b447325..257877376 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();
}
});
});