diff --git a/frontends/etiquette_flask/templates/clipboard.html b/frontends/etiquette_flask/templates/clipboard.html index 71fe6b3..f9d71ad 100644 --- a/frontends/etiquette_flask/templates/clipboard.html +++ b/frontends/etiquette_flask/templates/clipboard.html @@ -326,7 +326,10 @@ function refresh_metadata_callback(response) function refresh_metadata_form() { if (photo_clipboard.clipboard.size == 0) - {return;} + { + window[refresh_metadata_button.dataset.spinnerCloser](); + return; + } var url = "/batch/photos/refresh_metadata"; var photo_ids = Array.from(photo_clipboard.clipboard).join(",");