Cover page is now working

This commit is contained in:
Yukai Huang 2016-10-10 10:14:17 +08:00
parent 8cd1cf30a5
commit 20f2e27350
5 changed files with 32 additions and 11 deletions

View file

@ -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();
});
});