From e740e85ff53fcb04113603ff8fe9ba1a74bb253d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 6 May 2026 08:13:42 +0300 Subject: Add Down/j hotkey to exit filter and return to thumbnail grid --- web/js/keyboard.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'web/js/keyboard.js') diff --git a/web/js/keyboard.js b/web/js/keyboard.js index d1f9ee7..e532379 100644 --- a/web/js/keyboard.js +++ b/web/js/keyboard.js @@ -95,6 +95,12 @@ export function initKeyboard(handlers) { e.target.blur(); handlers.escape?.(e); } + if (e.key === 'ArrowDown' || e.key === 'j') { + e.target.blur(); + e.preventDefault(); + document.getElementById('media-grid')?.focus(); + handlers.navDown?.(e); + } return; } -- cgit v1.2.3