Skip to content

Commit

Permalink
fix: tab navigation not working on the result page in safari
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Sep 25, 2023
1 parent 64772e6 commit c39fdb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/src/ts/test/result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,7 @@ export async function update(
$("#result"),
250,
async () => {
$("#result").trigger("focus");
AdController.renderResult();
TestUI.setResultCalculating(false);
$("#words").empty();
Expand Down
2 changes: 1 addition & 1 deletion frontend/static/html/pages/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
<div id="premidTestMode" class="hidden"></div>
<div id="premidSecondsLeft" class="hidden"></div>
</div>
<div id="result" class="hidden">
<div id="result" class="hidden" tabindex="-1">
<div class="stats">
<!-- <div class="info">words 10<br>punctuation</div> -->

Expand Down

0 comments on commit c39fdb0

Please sign in to comment.