mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-13 07:23:39 +08:00
fixed pb reset and email update not showing
This commit is contained in:
parent
6fa13b131f
commit
95d7624bab
2 changed files with 10 additions and 2 deletions
|
@ -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();
|
||||
});
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue