Aevann 2024-01-15 04:19:36 +02:00
parent b7fcf73684
commit 5f2368f923
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ if (current_index > -1) {
const id_before = post_ids[current_index-1]
document.addEventListener('keydown', (e) => {
if (document.activeElement.tagName != 'TEXTAREA') {
if (document.activeElement.tagName != 'TEXTAREA' && document.activeElement.tagName != 'INPUT') {
if (id_before && e.key == 'ArrowLeft') {
location.href = id_before.slice(1, -1)
}