Skip to content

Commit

Permalink
Fix keyboard shortcuts when the modal is opened using the link
Browse files Browse the repository at this point in the history
  • Loading branch information
blmage committed May 14, 2024
1 parent e36a3c7 commit 8c6b1c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ const renderChallengeSolutionListModal = (challenge, result, userAnswer, opened)
}

const onAfterOpen = () => {
acquireHotkeysMutex();
isSolutionListModalToggling = false;
isSolutionListModalDisplayed = true;
opened ? resolve() : reject();
Expand Down

0 comments on commit 8c6b1c9

Please sign in to comment.