Skip to content

Commit c85f161

Browse files
committed
hopefully toggle fixed
1 parent 3f08dc3 commit c85f161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LongevityWorldCup.Website/wwwroot/partials/leaderboard-content.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2673,7 +2673,7 @@ <h3>Proofs</h3>
26732673
});
26742674

26752675
function toggleSidebar() {
2676-
if (event.target.closest('.sidebar')) {
2676+
if (document.activeElement.closest('.sidebar')) {
26772677
// Don't toggle if interacting inside the sidebar
26782678
return;
26792679
}

0 commit comments

Comments
 (0)