Commit 4bbfc8c8 authored by Tomasz Borychowski's avatar Tomasz Borychowski
Browse files

fix 'j' and 'k' inside search input

parent 3958e607
......@@ -15,6 +15,7 @@
});
document.addEventListener('keydown', (e) => {
if (e.target.tagName === 'INPUT') return true;
if (typeof keymap[e.key] === 'function') {
e.preventDefault();
keymap[e.key]();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment