Allow arrow keys for navigation

This commit is contained in:
p11 2025-04-08 01:54:39 +02:00
parent b7db49d88c
commit 3a0357693c

View File

@ -656,6 +656,17 @@ fn handle_relative_connection(
updateSection(); updateSection();
} }
} }
document.addEventListener('keydown', (e) => {
switch(e.keyCode) {
case 37:
prev();
break;
case 39:
next();
break;
}
});
")) "))
} }
} }