From f79c6381b560225b1f10c3cdfc0fd44bb3e5b0c6 Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Wed, 2 May 2018 11:48:41 +0200 Subject: [PATCH] Fixed navigator.language missing in IE9 causing the page not to load --- public/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/app.js b/public/src/app.js index aa02de6..fcc437c 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -39,7 +39,7 @@ Vue.use(VueI18n); Vue.use(VueRouter); const i18n = new VueI18n({ - locale: navigator.language.split('-')[0], + locale: navigator.language ? navigator.language.split('-')[0] : null, fallbackLocale: 'en', messages: messages });