diff options
author | =Corey Hulen <corey@hulen.com> | 2016-01-26 09:28:04 -0500 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-01-26 09:28:04 -0500 |
commit | 746b7d4a247c6d870d2bc53a779c5730ebc8a1d0 (patch) | |
tree | 41e566f8bb970b6027c02d428597daedd2d8f30b /web/templates/head.html | |
parent | d2b7fea361c7ad9b928e98e80d6ab7478f023566 (diff) | |
download | chat-746b7d4a247c6d870d2bc53a779c5730ebc8a1d0.tar.gz chat-746b7d4a247c6d870d2bc53a779c5730ebc8a1d0.tar.bz2 chat-746b7d4a247c6d870d2bc53a779c5730ebc8a1d0.zip |
PLT-7 fixing loc on safari
Diffstat (limited to 'web/templates/head.html')
-rw-r--r-- | web/templates/head.html | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/web/templates/head.html b/web/templates/head.html index 32bf337bc..fc16eb2dc 100644 --- a/web/templates/head.html +++ b/web/templates/head.html @@ -62,14 +62,11 @@ <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]); - // }); - // } - - ReactIntl.addLocaleData(ReactIntlLocaleData.en); - ReactIntl.addLocaleData(ReactIntlLocaleData.es); + if ('ReactIntl' in window && 'ReactIntlLocaleData' in window) { + Object.keys(ReactIntlLocaleData).forEach(function(lang) { + ReactIntl.addLocaleData(ReactIntlLocaleData[lang]); + }); + } window.mm_config = {{ .ClientCfg }}; window.mm_license = {{ .ClientLicense }}; |