mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/post: Require the post to not be in edit mode.
This commit is contained in:
committed by
Marcin Kurczewski
parent
a48116aa05
commit
a4215e35dc
@ -88,8 +88,16 @@ class PostMainView {
|
||||
|
||||
new Touch(
|
||||
postContainerNode,
|
||||
showPreviousImage,
|
||||
showNextImage
|
||||
() => {
|
||||
if (!ctx.editMode) {
|
||||
showPreviousImage()
|
||||
}
|
||||
},
|
||||
() => {
|
||||
if (!ctx.editMode) {
|
||||
showNextImage()
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user