mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
Enable verse linking in list items
Added 'li' to the verse linking selector so that verse references in list items are automatically converted to clickable links. This fixes verse references not being linked in sections like "Questions for Reflection" which use unordered lists. Now verse references like "1 Peter 5:8" in list items throughout the site will be automatically linked to their corresponding verse pages. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1949,7 +1949,7 @@
|
||||
}
|
||||
|
||||
// Link verses in common content areas
|
||||
document.querySelectorAll('.intro-text, .prophet-description, .angel-description, .covenant-description, p').forEach(function(element) {
|
||||
document.querySelectorAll('.intro-text, .prophet-description, .angel-description, .covenant-description, p, li').forEach(function(element) {
|
||||
// Skip if already processed or if it's in the sidebar
|
||||
if (element.closest('.nav-sidebar') || element.dataset.verseLinked) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user