From e981f0750afdb3d5f12c980f02c7f0e09ccb6d28 Mon Sep 17 00:00:00 2001 From: Robert Date: Fri, 29 Dec 2023 11:11:27 +0000 Subject: [PATCH] fix per page keyboard handling --- themes/eastnor/pages/photo.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/eastnor/pages/photo.hbs b/themes/eastnor/pages/photo.hbs index 1ee7e72..07a9b1b 100644 --- a/themes/eastnor/pages/photo.hbs +++ b/themes/eastnor/pages/photo.hbs @@ -106,7 +106,7 @@ let NextImagePath = "{{.NextImagePath}}" PreImagePath = PreImagePath ? PreImagePath : "{{.Picture.Id}}" - NextImagePath = PreImagePath ? NextImagePath : "{{.Picture.Id}}" + NextImagePath = NextImagePath ? NextImagePath : "{{.Picture.Id}}" document.addEventListener('keydown', (e) => {