Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Mar 14, 2024
1 parent abe48e9 commit e0049ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions clam/static/clam.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,11 @@ function renderfileparameters(id, target, enableconverters, parametersxmloverrid
} else {
xmldoc = $.parseXML(parametersxmloverride);
}
var found = false;
var x = $(xmldoc).find("parameters");
if (x.length == 1) {
xmldoc = x[0];
found = true;
parametercount = xmldoc.children.length;
}
if (!found) {
} else {
alert("You browser was unable render the metadata parameters...");
return false;
}
Expand Down

0 comments on commit e0049ea

Please sign in to comment.