mirror of
https://github.com/mue/mue.git
synced 2026-07-23 08:47:19 +02:00
feat: new welcome modal, refactor many things, various bug fixes, use material-ui v5 etc
Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
This commit is contained in:
@@ -39,7 +39,8 @@ if (window.languagecode !== 'en_GB' || window.languagecode !== 'en_US') {
|
||||
}
|
||||
|
||||
window.constants = Constants;
|
||||
if (localStorage.getItem('stats') === 'true' && localStorage.getItem('offlineMode') !== 'true') {
|
||||
// doesn't send to umami when offline mode is on
|
||||
if (localStorage.getItem('stats') === 'true') {
|
||||
window.stats = new Stats(window.constants.UMAMI_ID);
|
||||
} else {
|
||||
window.stats = {
|
||||
|
||||
Reference in New Issue
Block a user