Makes download link point to github release if github is slow, fails … (#94)

* Makes download link point to github release if github is slow, fails to load, or js is blocked.

* make download="" rather than download="true"
This commit is contained in:
ZaneHannanAU 2019-11-14 13:03:33 +11:00 committed by arkon
parent 89a81a0506
commit b3edc5edd2

View File

@ -20,9 +20,9 @@
<a
class="action-button"
rel="noopener noreferrer"
:href="browserDownloadUrl || null"
:href="browserDownloadUrl || 'https://github.com/inorichi/tachiyomi/releases/latest'"
title="Download latest release"
download
:download="browserDownloadUrl ? '' : null"
>
<font-awesome-icon icon="download" />
<span>Download {{ tagName || 'vX.X.X' }}</span>