From 4ae996bfd634438991fb16976eba4ff65f568669 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Sat, 5 Jul 2025 13:49:11 +0200 Subject: [PATCH] chore: also display downloads badge if no downloads --- src/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/index.html b/src/templates/index.html index b110dc5..ff297b9 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -330,7 +330,7 @@ } // Add download badge if applicable - if (result.downloads && document.getElementById("checkAvailability").checked) { + if (document.getElementById("checkAvailability").checked) { const downloadBadge = document.createElement('div'); downloadBadge.className = 'download-badge'; downloadBadge.textContent = `${result.downloads} Downloads`; -- 2.49.1