Fix cross-references showing duplicate tooltips

Cross-reference links were showing both their own CSS tooltip and the
JavaScript verse tooltip simultaneously, creating a cluttered experience.

Changes:
- Added .cross-references-section class to cross-references container
- Updated JavaScript to skip all links inside .cross-references-section
- Cross-ref links now only show their own CSS-based tooltip

This ensures cross-references show only one tooltip with the verse
preview, not multiple overlapping tooltips.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-28 19:17:03 -05:00
parent b7aa89931e
commit e54cfd7e1c
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1839,6 +1839,9 @@
// Skip links in concordance results (verse text already shown inline)
if (target.closest('.occurrence-reference') || target.closest('.occurrence')) return;
// Skip links in cross-references section (has its own CSS tooltip system)
if (target.closest('.cross-references-section')) return;
var verseInfo = parseVerseUrl(target.pathname + target.hash);
if (!verseInfo) return;
+1 -1
View File
@@ -396,7 +396,7 @@
</section>
{% if cross_references %}
<div>
<div class="cross-references-section">
<h2>Cross References</h2>
<p>Related verses that illuminate this passage (hover to preview):</p>
<ul style="max-width: 60%; list-style: none; padding: 0;">