summaryrefslogtreecommitdiffstats
path: root/web/templates/head.html
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-26 08:46:50 -0500
committer=Corey Hulen <corey@hulen.com>2016-01-26 08:46:50 -0500
commitd2b7fea361c7ad9b928e98e80d6ab7478f023566 (patch)
treea7d05b7446a48d6f97f1b617e74fa912a3325fe6 /web/templates/head.html
parentc44048e5f95b4be43443761c2d7645fee456897c (diff)
downloadchat-d2b7fea361c7ad9b928e98e80d6ab7478f023566.tar.gz
chat-d2b7fea361c7ad9b928e98e80d6ab7478f023566.tar.bz2
chat-d2b7fea361c7ad9b928e98e80d6ab7478f023566.zip
Fixing safari
Diffstat (limited to 'web/templates/head.html')
-rw-r--r--web/templates/head.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/web/templates/head.html b/web/templates/head.html
index 845cc76e7..32bf337bc 100644
--- a/web/templates/head.html
+++ b/web/templates/head.html
@@ -62,11 +62,14 @@
<style id="antiClickjack">body{display:none !important;}</style>
<script>
- if ('ReactIntl' in window && 'ReactIntlLocaleData' in window) {
- Object.keys(ReactIntlLocaleData).forEach((lang) => {
- ReactIntl.addLocaleData(ReactIntlLocaleData[lang]);
- });
- }
+ // if ('ReactIntl' in window && 'ReactIntlLocaleData' in window) {
+ // Object.keys(ReactIntlLocaleData).forEach((lang) => {
+ // ReactIntl.addLocaleData(ReactIntlLocaleData[lang]);
+ // });
+ // }
+
+ ReactIntl.addLocaleData(ReactIntlLocaleData.en);
+ ReactIntl.addLocaleData(ReactIntlLocaleData.es);
window.mm_config = {{ .ClientCfg }};
window.mm_license = {{ .ClientLicense }};