mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 13:01:10 +08:00
fixed theme event not logging theme name correctly
This commit is contained in:
parent
a5ef8655fc
commit
69d6aa1347
1 changed files with 3 additions and 1 deletions
|
@ -136,5 +136,7 @@ function previewTheme(name) {
|
|||
function setTheme(name) {
|
||||
config.theme = name;
|
||||
$("#currentTheme").attr("href", `themes/${name}.css`);
|
||||
firebase.analytics().logEvent('changedTheme', name);
|
||||
firebase.analytics().logEvent('changedTheme', {
|
||||
theme: name
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue