eval js on cards

This commit is contained in:
Damien Elmes 2012-08-23 14:01:48 +09:00
parent 9926fbcdc5
commit ea294ed47b

View file

@ -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();