diff options
| author | Bobby <[email protected]> | 2025-07-17 10:00:05 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2025-07-17 10:00:05 +0530 |
| commit | 94cca506f6d1461bf38afa5b0e38d778391b8d39 (patch) | |
| tree | d328a4024637040b10efdd9a1d53f45650cdde00 /static/scripts | |
| parent | 74543cd6dfc1a6d00c0bacbe07408d9ffbb73082 (diff) | |
| download | imageboard-94cca506f6d1461bf38afa5b0e38d778391b8d39.tar.xz imageboard-94cca506f6d1461bf38afa5b0e38d778391b8d39.zip | |
error handler messages via backend for upload
Diffstat (limited to 'static/scripts')
| -rw-r--r-- | static/scripts/upload.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/static/scripts/upload.js b/static/scripts/upload.js index 6342aa2..309b0da 100644 --- a/static/scripts/upload.js +++ b/static/scripts/upload.js @@ -123,7 +123,6 @@ function setUploadLoadingIndicator(show) { indicator = document.createElement('div'); indicator.id = '_uploadLoadingIndicator'; indicator.className = 'upload-loading-indicator'; - // Segmented ring spinner markup, no text indicator.innerHTML = ` <div class="upload-loading-icon"> <div class="ib-loader-spinner"> @@ -144,7 +143,7 @@ function setUploadLoadingIndicator(show) { `; dragBox.appendChild(indicator); } - // Animation logic for retro ring spinner + const spinner = indicator.querySelector('.ib-loader-spinner'); const segments = spinner ? spinner.querySelectorAll('.ib-loader-seg') : []; if (show && segments.length) { |
