mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 15:41:52 +01:00
Removed lightbox that caused bugs like Maximum stack size exceeded. TODO later: Add a new way to open attachment image bigger.
Thanks to xet7 ! Related #4545
This commit is contained in:
parent
e4e1a8f4e6
commit
dfea3d0e73
3 changed files with 14 additions and 18 deletions
|
|
@ -19,7 +19,9 @@ template(name="attachmentsGalery")
|
|||
.attachments-galery
|
||||
each attachments
|
||||
.attachment-item
|
||||
a.attachment-thumbnail(href="{{link}}" title="{{name}}" data-lightbox="{{name}}")
|
||||
// TODO: Add popup of attachment image later, with some swipebox or lightbox that would not add bugs
|
||||
// a.attachment-thumbnail(href="{{link}}" title="{{name}}")
|
||||
span.attachment-thumbnail(href="{{link}}" title="{{name}}")
|
||||
if link
|
||||
if isImage
|
||||
img.attachment-thumbnail-img(src="{{link}}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue