mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 05:26:54 +08:00
added click handler to update account page
This commit is contained in:
parent
751c7992bc
commit
5d8ef4ac09
1 changed files with 8 additions and 0 deletions
|
@ -1000,6 +1000,14 @@ $(document).on("click", ".buttonsAndTitle .buttons .button", (event) => {
|
|||
sortAndRefreshHistory("timestamp", ".history-date-header", true);
|
||||
});
|
||||
|
||||
$(
|
||||
".pageAccount .topFilters .button, .pageAccount .filterButtons .button "
|
||||
).click((e) => {
|
||||
setTimeout(() => {
|
||||
update();
|
||||
}, 0);
|
||||
});
|
||||
|
||||
export const page = new Page(
|
||||
"account",
|
||||
$(".page.pageAccount"),
|
||||
|
|
Loading…
Add table
Reference in a new issue