We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ccf2a8 commit 059cb6aCopy full SHA for 059cb6a
1 file changed
app/views/registers/curation_genomics/_ambiguous_type_genome.html.erb
@@ -148,12 +148,12 @@
148
149
$("#smart-checks").on("click", function() {
150
var passed = 0;
151
- $(".curator-checklist .check-skip").each(function() {
+ var all = $(".curator-checklist .check-skip").each(function() {
152
var skip = $(this);
153
var name_id = skip.find("a[data-do=skip]").data("name");
154
if (auto_check_name(name_id)) passed += 1;
155
- });
156
- alert(`Auto-passed ${passed} names`);
+ }).length;
+ alert(`Auto-passed ${passed} names of ${all} checked`);
157
return false;
158
});
159
</script>
0 commit comments