Procházet zdrojové kódy

Fix: image download dont open -> download

David Arnold před 4 roky
rodič
revize
72abf50b36
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      client/components/cards/attachments.jade

+ 1 - 1
client/components/cards/attachments.jade

@@ -43,7 +43,7 @@ template(name="attachmentsGalery")
           = name
           span.file-size ({{fileSize size}} KB)
           span.attachment-details-actions
-            a.js-download(href="{{link}}?download=true")
+            a.js-download(href="{{link}}?download=true", download="{{name}}")
               i.fa.fa-download
               | {{_ 'download'}}
             if currentUser.isBoardMember