X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f491d5388cd920a2500b1d5415c63fd8c08c29c3..b31136a9f521897ad2552126adfd4d5e2288bb15:/redakcja/static/edumed/js/edumed.js?ds=sidebyside diff --git a/redakcja/static/edumed/js/edumed.js b/redakcja/static/edumed/js/edumed.js index aec1c4cb..92ab4c1b 100644 --- a/redakcja/static/edumed/js/edumed.js +++ b/redakcja/static/edumed/js/edumed.js @@ -77,7 +77,7 @@ Excercise.prototype.get_value_list = function(elem, data_key, numbers) { var vl; - vl = $(elem).data(data_key).split(/[ ,]+/).map($.trim); + vl = $(elem).attr("data-" + data_key).split(/[ ,]+/).map($.trim); if (numbers) { vl = vl.map(function(x) { return parseInt(x);