fixed pb reset and email update not showing

This commit is contained in:
Jack 2021-04-04 00:16:32 +01:00
parent 6fa13b131f
commit 95d7624bab
2 changed files with 10 additions and 2 deletions

View file

@ -727,3 +727,11 @@ $(".pageSettings .sectionGroupTitle").click((e) => {
);
}
});
$(".pageSettings #resetPersonalBestsButton").on("click", (e) => {
SimplePopups.list.resetPersonalBests.show();
});
$(".pageSettings #updateAccountEmail").on("click", (e) => {
SimplePopups.list.updateEmail.show();
});

View file

@ -3225,7 +3225,7 @@
class="button off danger"
id="resetPersonalBestsButton"
tabindex="0"
onclick="this.blur();simplePopups.resetPersonalBests.show();"
onclick="this.blur();"
>
reset personal bests
</div>
@ -3241,7 +3241,7 @@
class="button off danger"
id="updateAccountEmail"
tabindex="0"
onclick="this.blur();simplePopups.updateEmail.show();"
onclick="this.blur();"
>
update email
</div>