diff --git a/atlas/templates/atlas/series_viewer.html b/atlas/templates/atlas/series_viewer.html index 92f071f5..a81d5173 100755 --- a/atlas/templates/atlas/series_viewer.html +++ b/atlas/templates/atlas/series_viewer.html @@ -251,7 +251,7 @@ return; } - if(confirm(`Trucated series. This will leave ${upper_bound - lower_bound + 1} images.`) == true) { + if(confirm(`Trucated series. This will leave ${upper_bound - lower_bound + 1} images.`) == true) { const truncateTemplate = `{% url 'atlas:series_truncate' series.id 0 0 %}`; // e.g. /atlas/series/920/truncate/0/0/ const truncateUrl = truncateTemplate.replace('/0/0/', `/${lower_bound}/${upper_bound}/`); htmx.ajax("GET", truncateUrl, "#truncate-output")