Merge branch 'edumed' of https://github.com/fnp/redakcja into edumed
[redakcja.git] / redakcja / static / edumed / js / edumed.js
index a48e19a..8948380 100644 (file)
@@ -64,7 +64,7 @@
       var score, scores,
         _this = this;
       scores = [];
       var score, scores,
         _this = this;
       scores = [];
-      $(".question").each(function(i, question) {
+      $(".question", this.element).each(function(i, question) {
         return scores.push(_this.check_question(question));
       });
       score = [0, 0];
         return scores.push(_this.check_question(question));
       });
       score = [0, 0];