summaryrefslogtreecommitdiffstats
path: root/web/templates
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2016-01-26 14:29:25 -0500
committerhmhealey <harrisonmhealey@gmail.com>2016-01-26 14:29:25 -0500
commit41f4cc5a5f59b9100e5fa743fcd6e485ef56ce6d (patch)
treed0f97830e6f9478f6939fc8bf28e1ae7cca99bf5 /web/templates
parent163bab98b5662b34515c70ecb86ea625742b9fea (diff)
downloadchat-41f4cc5a5f59b9100e5fa743fcd6e485ef56ce6d.tar.gz
chat-41f4cc5a5f59b9100e5fa743fcd6e485ef56ce6d.tar.bz2
chat-41f4cc5a5f59b9100e5fa743fcd6e485ef56ce6d.zip
Changed page to just reload when another tab logs in
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();
}
});
});