mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
Cover page is now working
This commit is contained in:
parent
8cd1cf30a5
commit
20f2e27350
5 changed files with 32 additions and 11 deletions
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue