Simplify chapter nav tip and change 'p' shortcut to PDF

- Shortened nav help to "Tip: ↑/↓ to select verses • ? for more shortcuts"
- Changed 'p' keyboard shortcut from Reading Plans to PDF download

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-02 13:04:27 -05:00
parent 8322a88edd
commit c22000287c
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -708,7 +708,8 @@ document.addEventListener('keydown', function(e) {
break;
case 'p':
e.preventDefault();
window.location.href = '/reading-plans';
var pdfBtn = document.querySelector('.pdf-btn, a[href$="/pdf"]');
if (pdfBtn) window.location.href = pdfBtn.href;
break;
case 'f':
e.preventDefault();
@@ -895,7 +896,7 @@ function showKeyboardHelp() {
'<div class="shortcut"><kbd>s</kbd><span>Stories</span></div>' +
'<div class="shortcut"><kbd>r</kbd><span>Resources</span></div>' +
'<div class="shortcut"><kbd>t</kbd><span>Topics</span></div>' +
'<div class="shortcut"><kbd>p</kbd><span>Reading Plans</span></div>' +
'<div class="shortcut"><kbd>p</kbd><span>PDF (when available)</span></div>' +
'<div class="shortcut"><kbd>f</kbd><span>Family Tree</span></div>' +
'<div class="shortcut"><kbd>c</kbd><span>Strong\'s Concordance</span></div>' +
'<div class="shortcut"><kbd>v</kbd><span>Verse of the Day</span></div>' +
+1 -1
View File
@@ -343,7 +343,7 @@ document.body.dataset.resourceReader = 'false';
</a>
</div>
<div class="nav-help">
Tip: ↑/↓ to select verses • Enter to view • ←/→ chapters • Space reads verse (if selected) or chapter • i=interlinear • p=PDF • = listen to chapter
Tip: ↑/↓ to select verses • ? for more shortcuts
</div>
</nav>