diff --git a/src/main/webapp/js/main.js b/src/main/webapp/js/main.js index e515de8..1ec4383 100644 --- a/src/main/webapp/js/main.js +++ b/src/main/webapp/js/main.js @@ -878,10 +878,10 @@ filterAlgorithmsByAnnotation = function() { var named = $("#algorithm-params-div input[type=checkbox]")[i].getAttribute("named"); var annList = algIndexedArray[named].annotations; 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 { - $($("#algorithm-params-div input[type=checkbox]")[i]).removeAttr("checked") + $($("#algorithm-params-div input[type=checkbox]")[i]).prop("checked", false); } } }