mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 12:18:30 +03:00
Fix captioning turned on even when showCaption = false
This commit is contained in:
parent
0b8cbbef51
commit
3dbbba0be2
1 changed files with 3 additions and 1 deletions
|
@ -1822,7 +1822,9 @@ function Status({
|
|||
media={media}
|
||||
autoAnimate={isSizeLarge}
|
||||
showCaption={mediaAttachments.length === 1}
|
||||
allowLongerCaption={!content}
|
||||
allowLongerCaption={
|
||||
!content && mediaAttachments.length === 1
|
||||
}
|
||||
lang={language}
|
||||
altIndex={
|
||||
showMultipleMediaCaptions &&
|
||||
|
|
Loading…
Add table
Reference in a new issue