Skip to content

Commit 95acd75

Browse files
authored
Merge pull request #250 from biodiversitydata-se/upstream-collection-progress-bar
Hide progress bar on collection page if no estimated specimens count
2 parents 0c2196f + 46b1ec1 commit 95acd75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)