From 62fe33ce6b421c7d210dc7e82c92b1a3443ff90e Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 30 Nov 2025 12:20:14 -0500 Subject: [PATCH] Include resource cards in selection/reading --- kjvstudy_org/templates/resource_index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kjvstudy_org/templates/resource_index.html b/kjvstudy_org/templates/resource_index.html index f2ad459..cf74c07 100644 --- a/kjvstudy_org/templates/resource_index.html +++ b/kjvstudy_org/templates/resource_index.html @@ -305,7 +305,7 @@ document.addEventListener('DOMContentLoaded', function() { // Two-section navigation: pre-TOC content -> TOC block -> post-TOC content // Or when inside TOC: individual TOC entries // Content elements include PDF button, intro text (before TOC), then section titles, description paragraphs, and verse items (after TOC) - const contentElements = Array.from(document.querySelectorAll('.resource-download-btn, .intro-text, .resource-name, .resource-item-description > p, .resource-item-description > ul, .resource-item-description > ol, .resource-item-description > blockquote, .verse-item')); + const contentElements = Array.from(document.querySelectorAll('.resource-download-btn, .intro-text, .resource-name, .resource-item-description > p, .resource-item-description > ul, .resource-item-description > ol, .resource-item-description > blockquote, .verse-item, .resource-card')); const tocItems = Array.from(tocList.querySelectorAll('li a')); // Find where post-TOC content starts (first .resource-name or content after TOC)