From e9f3d2b3775d3f7c3cd3cc5564d200107b5a5e5c Mon Sep 17 00:00:00 2001 From: Julien Constant Date: Fri, 14 Apr 2023 15:05:33 +0200 Subject: [PATCH] Fix keyboard navigation not working properly --- sas/templates/sas/picture.jinja | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sas/templates/sas/picture.jinja b/sas/templates/sas/picture.jinja index 848f0aec..711a0c6c 100644 --- a/sas/templates/sas/picture.jinja +++ b/sas/templates/sas/picture.jinja @@ -167,8 +167,10 @@ switch (e.keyCode) { case 37: $('#prev a')[0].click(); + break; case 39: $('#next a')[0].click(); + break; } }); });