summaryrefslogtreecommitdiff
path: root/public/js/locale.js
diff options
context:
space:
mode:
authorYukai Huang2016-10-10 10:14:17 +0800
committerYukai Huang2016-10-10 10:14:17 +0800
commit20f2e27350dba2f77199b434a4c236073f1aae04 (patch)
treeded6e2961daf3795d3269fdb8e7c12124f64bed8 /public/js/locale.js
parent8cd1cf30a5f0f3b04222623998db4608a584e29d (diff)
Cover page is now working
Diffstat (limited to 'public/js/locale.js')
-rw-r--r--public/js/locale.js4
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
+});