From 371f3fc5ac6e86e45e9004a42c486cdcde5d1a34 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 30 Nov 2025 01:55:07 -0500 Subject: [PATCH] Keep cache button clickable after completion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Button now shows 'Refresh Cache' and stays enabled after download completes, allowing users to re-download/refresh the cache. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/templates/offline.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kjvstudy_org/templates/offline.html b/kjvstudy_org/templates/offline.html index c2bda7a..ebd737c 100644 --- a/kjvstudy_org/templates/offline.html +++ b/kjvstudy_org/templates/offline.html @@ -794,8 +794,8 @@ cacheProgress.classList.add('active'); progressFill.style.width = '100%'; progressText.innerHTML = '✓ Download complete! ' + data.total.toLocaleString() + ' pages available offline.'; - startCacheBtn.textContent = 'Downloaded!'; - startCacheBtn.disabled = true; + startCacheBtn.textContent = 'Refresh Cache'; + startCacheBtn.disabled = false; // Refresh the cache list setTimeout(checkCaches, 500); } else if (data.type === 'CACHE_ERROR') {