mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-26 08:47:36 +08:00
fixed click event not firing
This commit is contained in:
parent
0330f831d4
commit
390bb89af0
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ $("#top .logo").on("click", () => {
|
|||
navigate("/");
|
||||
});
|
||||
|
||||
$("#leaderboards .entryName").on("click", (e) => {
|
||||
$(document).on("click", "#leaderboards .entryName", (e) => {
|
||||
const uid = $(e.target).attr("uid");
|
||||
if (uid) {
|
||||
navigate(`/profile/${uid}`);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue