mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
eval js on cards
This commit is contained in:
parent
9926fbcdc5
commit
ea294ed47b
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class Reviewer(object):
|
||||||
var ankiPlatform = "desktop";
|
var ankiPlatform = "desktop";
|
||||||
var typeans;
|
var typeans;
|
||||||
function _updateQA (q, answerMode, klass) {
|
function _updateQA (q, answerMode, klass) {
|
||||||
$("#qa")[0].innerHTML = q;
|
$("#qa").html(q);
|
||||||
typeans = document.getElementById("typeans");
|
typeans = document.getElementById("typeans");
|
||||||
if (typeans) {
|
if (typeans) {
|
||||||
typeans.focus();
|
typeans.focus();
|
||||||
|
|
Loading…
Reference in a new issue