()
| 159 | }; |
| 160 | |
| 161 | const hideUploadError = () => { |
| 162 | const el = document.getElementById(uploadErrorId); |
| 163 | if (!el) return; |
| 164 | el.hidden = true; |
| 165 | el.textContent = ''; |
| 166 | }; |
| 167 | |
| 168 | const showUploadError = (message, statusCode) => { |
| 169 | const el = ensureUploadErrorEl(); |