diff --git a/client/js/views/post_main_view.js b/client/js/views/post_main_view.js index 20f559d..e2e888f 100644 --- a/client/js/views/post_main_view.js +++ b/client/js/views/post_main_view.js @@ -88,8 +88,16 @@ class PostMainView { new Touch( postContainerNode, - showPreviousImage, - showNextImage + () => { + if (!ctx.editMode) { + showPreviousImage() + } + }, + () => { + if (!ctx.editMode) { + showNextImage() + } + } ) }