Skip to content

Commit

Permalink
Merge pull request #1498 from memphis-iis/iss1496
Browse files Browse the repository at this point in the history
Issue 1496: Button trials not working
  • Loading branch information
JRustyHaner authored Jun 18, 2024
2 parents bf2ebbf + e37a296 commit 1606d48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mofacts/client/views/experiment/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,9 @@ function getCurrentFalseResponses() {
if (typeof(cluster) == 'undefined' || !cluster.stims || cluster.stims.length == 0 ||
typeof(cluster.stims[curStimIndex].incorrectResponses) == 'undefined') {
return []; // No false responses
} else {
} else {
if(typeof(cluster.stims[curStimIndex].incorrectResponses) == 'string')
return cluster.stims[curStimIndex].incorrectResponses.split(',');
return cluster.stims[curStimIndex].incorrectResponses;
}
}
Expand Down

0 comments on commit 1606d48

Please sign in to comment.