diff options
author | Yukai Huang | 2016-10-10 10:14:17 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-10 10:14:17 +0800 |
commit | 20f2e27350dba2f77199b434a4c236073f1aae04 (patch) | |
tree | ded6e2961daf3795d3269fdb8e7c12124f64bed8 /public/js/locale.js | |
parent | 8cd1cf30a5f0f3b04222623998db4608a584e29d (diff) |
Cover page is now working
Diffstat (limited to '')
-rw-r--r-- | public/js/locale.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/js/locale.js b/public/js/locale.js index 6fe7fdb6..484ce22f 100644 --- a/public/js/locale.js +++ b/public/js/locale.js @@ -1,3 +1,5 @@ +require('./cover'); + var lang = "en"; var userLang = navigator.language || navigator.userLanguage; var userLangCode = userLang.split('-')[0]; @@ -21,4 +23,4 @@ locale.change(function() { expires: 365 }); window.location.reload(); -});
\ No newline at end of file +}); |