fixed double download on chromium

pull/29/head
tycrek 3 years ago
parent 7badfaa68a
commit ee1d80ee11
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -1 +1 @@
Subproject commit ee109b41f84f41464d28fef86494c499934effb4
Subproject commit 958b81fe59b9992c916fc61b5ed322558b3467d9

@ -39,5 +39,5 @@ html
br
small #{timestamp} (#{size})
br
small: a(href='#' onclick=`window.location = '${resourceAttr.src}?download=yes';` download=title) Download
small: a(href='#' onclick=`window.location = '${resourceAttr.src}?download=yes'; return false;` download=title) Download
#footer: p Image hosted by #[a#footer-link(href='https://github.com/tycrek/ass' target='_blank'): strong ass], the superior self-hosted ShareX server

Loading…
Cancel
Save