client/post: Require the post to not be in edit mode.
This commit is contained in:
parent
a48116aa05
commit
a4215e35dc
|
@ -88,8 +88,16 @@ class PostMainView {
|
||||||
|
|
||||||
new Touch(
|
new Touch(
|
||||||
postContainerNode,
|
postContainerNode,
|
||||||
showPreviousImage,
|
() => {
|
||||||
showNextImage
|
if (!ctx.editMode) {
|
||||||
|
showPreviousImage()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
() => {
|
||||||
|
if (!ctx.editMode) {
|
||||||
|
showNextImage()
|
||||||
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue