Skip to content

Commit 0f64d59

Browse files
committed
Fix icheck process choices values with spaces
1 parent 0478475 commit 0f64d59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/icheck.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function init(Survey, $) {
3535
values = [values];
3636
}
3737
values.forEach(function(value) {
38-
$el.find("input[value=" + value + "]").iCheck("check");
38+
$el.find("input[value='" + value + "']").iCheck("check");
3939
});
4040
} else {
4141
question.generatedVisibleRows.forEach(function(row, index, rows) {

0 commit comments

Comments
 (0)