Skip to content

Commit 8182005

Browse files
committed
Anki v24.06+ back card side automatic swap fix
- See [the discussion comment](#649 (reply in thread)) for the details
1 parent 3086a10 commit 8182005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/media/experimental_assets/_ug-interactive_map_init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
if (typeof AnkiDroidJS !== "undefined") {
166166
showAnswer();
167167
} else {
168-
commonElements.hiddenTextarea.dispatchEvent(new KeyboardEvent("keypress", {code: "Enter"}));
168+
commonElements.hiddenTextarea.dispatchEvent(new KeyboardEvent("keypress", {code: "Enter", key: "Enter"}));
169169
}
170170
}
171171

0 commit comments

Comments
 (0)