Skip to content

Commit

Permalink
Hide progress bar on collection page if no estimated specimens count
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbov committed Sep 24, 2024
1 parent 251e32a commit 26eee95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grails-app/views/public/_progress.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ function setPercentAgeNumbers(totalBiocacheRecords, totalRecords) {
}
setProgress(percent);
} else {
// to update the speedo caption
setProgress(0);
// the progress bar doesn't make sense if there is no estimated speciemens count
$('#progress').hide();
}
}

Expand Down

0 comments on commit 26eee95

Please sign in to comment.