mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-09 04:46:54 +08:00
removed unnecessary analytics
This commit is contained in:
parent
35486771c6
commit
ebd5c9c152
1 changed files with 0 additions and 8 deletions
|
|
@ -366,15 +366,7 @@ function changeLayout(layout, nosave){
|
|||
if (layout == null || layout == undefined){
|
||||
layout = "qwerty"
|
||||
}
|
||||
|
||||
config.layout = layout;
|
||||
try{
|
||||
firebase.analytics().logEvent('changedLanguage', {
|
||||
language: language
|
||||
});
|
||||
}catch(e){
|
||||
console.log("Analytics unavailable");
|
||||
}
|
||||
if(!nosave) saveConfigToCookie();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue