Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
Use count.visible
Browse files Browse the repository at this point in the history
  • Loading branch information
jornvandebeek committed Jan 13, 2015
1 parent 89bd5e0 commit 55bc5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/quby/answers/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
break;
case "answer_group_require_all_or_none":
var count = calculateAnswerGroup(validation.group, panel);
if(count.visible > 0 && count.answered > 0 && count.answered < (count.total - count.hidden)){
if(count.visible > 0 && count.answered > 0 && count.answered < count.visible ){
pushFailVal(validation.type);
}
break;
Expand Down

0 comments on commit 55bc5da

Please sign in to comment.