Skip to content

Commit

Permalink
Fix #1148 where Answer X of Y page had stopped marking correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
FayCross authored and torinfo committed Jul 28, 2022
1 parent df7f50d commit beacaf2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -269,7 +269,7 @@

var answers = [];
for (i = 0; i < elements.length; i++) {
var answer = elements[i].answer.split(x_currentPageXML.getAttribute("answerDelimiter"));
var answer = elements[i].answer.split(x_currentPageXML.getAttribute("answerDelimiter") != undefined && x_currentPageXML.getAttribute("answerDelimiter") != '' ? x_currentPageXML.getAttribute("answerDelimiter") : ',');
answers.push({
options: answer,
counter: 0,
Expand Down

0 comments on commit beacaf2

Please sign in to comment.