Skip to content

Commit 46b1ec1

Browse files
committed
Hide progress bar on collection page if no estimated specimens count
1 parent e9c59f1 commit 46b1ec1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: grails-app/views/public/_progress.gsp

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ function setPercentAgeNumbers(totalBiocacheRecords, totalRecords) {
3333
}
3434
setProgress(percent);
3535
} else {
36-
// to update the speedo caption
37-
setProgress(0);
36+
// the progress bar doesn't make sense if there is no estimated speciemens count
37+
$('#progress').hide();
3838
}
3939
}
4040

0 commit comments

Comments
 (0)