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) {