From 20f2e27350dba2f77199b434a4c236073f1aae04 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Mon, 10 Oct 2016 10:14:17 +0800 Subject: Cover page is now working --- public/js/locale.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'public/js/locale.js') 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 +}); -- cgit v1.2.3