From 66645982e9fd4fd589e10651194d58e99482ef13 Mon Sep 17 00:00:00 2001 From: Cutls Date: Wed, 14 Aug 2019 00:23:05 +0900 Subject: [PATCH] Fix: arrow key img selector(reversed) --- app/js/common/keyshortcut.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/common/keyshortcut.js b/app/js/common/keyshortcut.js index 48d9d113..4e98c45f 100644 --- a/app/js/common/keyshortcut.js +++ b/app/js/common/keyshortcut.js @@ -138,7 +138,7 @@ $(function ($) { if (e.code == "ArrowLeft") { //left if ($("#imagemodal").hasClass("open")) { - imgCont('next'); + imgCont('prev'); return false; } if (selectedColumn > 0) { @@ -159,7 +159,7 @@ $(function ($) { } else if (e.code == "ArrowRight") { //right if ($("#imagemodal").hasClass("open")) { - imgCont('prev'); + imgCont('next'); return false; } if (selectedColumn < $(".tl-box").length - 1) {