This commit is contained in:
Mateusz Gruszczyński
2025-08-16 13:35:10 +02:00
parent 0187f1d654
commit d15d83eea2
2 changed files with 2 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ document.addEventListener('DOMContentLoaded', function () {
statsEl.textContent = `(${allProducts.length} z ${data.total_count})`;
}
} catch (err) {
const loadingEl = productList.querySelector('.loading');
if (loadingEl) loadingEl.remove();