Fix conditions based on the initial question

pull/1/head
yflory 3 years ago
parent 69e10df9e0
commit 45d32f2294

@ -3871,7 +3871,7 @@ define([
return;
}
rules.forEach(function (obj) {
var idx = available.indexOf(obj.q);
var idx = available.indexOf(String(obj.q));
// If this question doesn't exist before the section, remove the condition
if (!obj.q || idx === -1) {
var cIdx = rules.indexOf(obj);

Loading…
Cancel
Save