upd: move claim, add claim for banner and background

This commit is contained in:
Marie 2025-03-05 21:25:12 +01:00
parent 56c1154fa6
commit 17a02b2a59
No known key found for this signature in database
GPG key ID: 7ADF6C9CD9A28555

View file

@ -271,7 +271,6 @@ function changeAvatar(ev) {
$i.avatarId = i.avatarId;
$i.avatarUrl = i.avatarUrl;
globalEvents.emit('requestClearPageCache');
claimAchievement('profileFilled');
});
}
@ -345,6 +344,7 @@ function changeOrRemoveAvatar(ev) {
}], ev.currentTarget ?? ev.target);
} else {
changeAvatar(ev);
claimAchievement('profileFilled');
}
}
@ -366,6 +366,7 @@ function changeOrRemoveBanner(ev) {
}], ev.currentTarget ?? ev.target);
} else {
changeBanner(ev);
claimAchievement('profileFilled');
}
}
@ -387,6 +388,7 @@ function changeOrRemoveBackground(ev) {
}], ev.currentTarget ?? ev.target);
} else {
changeBackground(ev);
claimAchievement('profileFilled');
}
}