Skip to content

Commit 059cb6a

Browse files
committed
Update _ambiguous_type_genome.html.erb
1 parent 2ccf2a8 commit 059cb6a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/views/registers/curation_genomics/_ambiguous_type_genome.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@
148148

149149
$("#smart-checks").on("click", function() {
150150
var passed = 0;
151-
$(".curator-checklist .check-skip").each(function() {
151+
var all = $(".curator-checklist .check-skip").each(function() {
152152
var skip = $(this);
153153
var name_id = skip.find("a[data-do=skip]").data("name");
154154
if (auto_check_name(name_id)) passed += 1;
155-
});
156-
alert(`Auto-passed ${passed} names`);
155+
}).length;
156+
alert(`Auto-passed ${passed} names of ${all} checked`);
157157
return false;
158158
});
159159
</script>

0 commit comments

Comments
 (0)