This commit is contained in:
Erik Perrone 2018-03-23 10:35:40 +00:00
parent cc6b5c73c9
commit 732b90ad8b
1 changed files with 2 additions and 2 deletions

View File

@ -878,10 +878,10 @@ filterAlgorithmsByAnnotation = function() {
var named = $("#algorithm-params-div input[type=checkbox]")[i].getAttribute("named"); var named = $("#algorithm-params-div input[type=checkbox]")[i].getAttribute("named");
var annList = algIndexedArray[named].annotations; var annList = algIndexedArray[named].annotations;
if(annList.indexOf(annotation) >= 0) { if(annList.indexOf(annotation) >= 0) {
$($("#algorithm-params-div input[type=checkbox]")[i]).attr("checked", "") $($("#algorithm-params-div input[type=checkbox]")[i]).prop("checked", true);
} }
else { else {
$($("#algorithm-params-div input[type=checkbox]")[i]).removeAttr("checked") $($("#algorithm-params-div input[type=checkbox]")[i]).prop("checked", false);
} }
} }
} }