mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
Change keyboard shortcuts: s=Stories, /=Search
- s now goes to /stories - / now goes to /search (more intuitive) - Updated keyboard help modal 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1670,6 +1670,10 @@
|
||||
window.location.href = '/books';
|
||||
break;
|
||||
case 's':
|
||||
e.preventDefault();
|
||||
window.location.href = '/stories';
|
||||
break;
|
||||
case '/':
|
||||
e.preventDefault();
|
||||
window.location.href = '/search';
|
||||
break;
|
||||
@@ -1759,7 +1763,7 @@
|
||||
'<div class="keyboard-help-section">' +
|
||||
'<h3>Navigation</h3>' +
|
||||
'<div class="shortcut"><kbd>b</kbd><span>Books</span></div>' +
|
||||
'<div class="shortcut"><kbd>s</kbd><span>Search</span></div>' +
|
||||
'<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>' +
|
||||
@@ -1781,7 +1785,7 @@
|
||||
'<h3>Other</h3>' +
|
||||
'<div class="shortcut"><kbd>`</kbd><span>Toggle sidebar</span></div>' +
|
||||
'<div class="shortcut"><kbd>⌘</kbd>+<kbd>D</kbd><span>Toggle dark mode</span></div>' +
|
||||
'<div class="shortcut"><kbd>/</kbd><span>Go to search</span></div>' +
|
||||
'<div class="shortcut"><kbd>/</kbd><span>Search</span></div>' +
|
||||
'<div class="shortcut"><kbd>?</kbd><span>Show this help</span></div>' +
|
||||
'<div class="shortcut"><kbd>Esc</kbd><span>Close / Clear focus</span></div>' +
|
||||
'</div>' +
|
||||
|
||||
Reference in New Issue
Block a user