summaryrefslogtreecommitdiffstats
path: root/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates')
-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 fc16eb2dc..cf1d37b53 100644
--- a/web/templates/head.html
+++ b/web/templates/head.html
@@ -81,13 +81,13 @@
headers: {
'X-MM-TokenIndex': mm_session_token_index,
'Accept-Language': mm_locale
- }
+ }
});
} else {
$.ajaxSetup({
headers: {
'Accept-Language': mm_locale
- }
+ }
});
}
@@ -111,7 +111,7 @@
}
console.log('detected login from a different tab');
- window.location.href = '/' + window.mm_team.name;
+ location.reload();
}
});
});