From ee1d80ee11ae7f9d95805013f4ad5a3dce1cca0b Mon Sep 17 00:00:00 2001 From: tycrek Date: Fri, 9 Jul 2021 12:21:20 -0600 Subject: [PATCH] fixed double download on chromium --- ass-x | 2 +- views/view.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ass-x b/ass-x index ee109b4..958b81f 160000 --- a/ass-x +++ b/ass-x @@ -1 +1 @@ -Subproject commit ee109b41f84f41464d28fef86494c499934effb4 +Subproject commit 958b81fe59b9992c916fc61b5ed322558b3467d9 diff --git a/views/view.pug b/views/view.pug index a817e18..f0dcf23 100644 --- a/views/view.pug +++ b/views/view.pug @@ -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