Skip to content

Commit

Permalink
Anki v24.06+ back card side automatic swap fix
Browse files Browse the repository at this point in the history
- See [the discussion comment](#649 (reply in thread)) for the details
  • Loading branch information
helitopia committed Aug 24, 2024
1 parent 0f09943 commit 4708a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/media/experimental_assets/_ug-interactive_map_init.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
if (typeof AnkiDroidJS !== "undefined") {
showAnswer();
} else {
commonElements.hiddenTextarea.dispatchEvent(new KeyboardEvent("keypress", {code: "Enter"}));
commonElements.hiddenTextarea.dispatchEvent(new KeyboardEvent("keypress", {code: "Enter", key: "Enter"}));
}
}

Expand Down

0 comments on commit 4708a11

Please sign in to comment.