fix: IDB resilience, direct autopreload, nav delegation, Bible bounds
This commit is contained in:
1 parent
c10c219736
commit
ea09993df9
5 files changed
+82
-13
No files matched your search
+1
-1
@@ -72,7 +72,7 @@ export class App {
|
||||
document.addEventListener('touchstart', closeOpenDropdowns, { passive: true });
|
||||
|
||||
// Close library dropdown when a nav link inside it is clicked
|
||||
document.querySelector('nav')?.addEventListener('click', (e) => {
|
||||
document.addEventListener('click', (e) => {
|
||||
const target = e.target as HTMLElement;
|
||||
const link = target.closest('.nav-link');
|
||||
if (link) {
|
||||
|
||||
Reference in new issue
Block a user