diff --git a/web_src/js/index.js b/web_src/js/index.js index 168d2a60f6..45237fce14 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -746,9 +746,11 @@ function getArchive($target, url, statusUrl) { if (!xhr.responseJSON.complete && statusUrl !== null) { $target.closest('.dropdown').children('i').addClass('loading'); + // Wait for only three quarters of a second initially, in case it's + // quickly archived. setTimeout(() => { initArchiveStatusChecker($target, url, statusUrl); - }, 2000); + }, 750); } else { // We don't need to continue checking. $target.closest('.dropdown').children('i').removeClass('loading');