mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 07:31:58 +01:00
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:
parent
89a81a0506
commit
b3edc5edd2
@ -20,9 +20,9 @@
|
|||||||
<a
|
<a
|
||||||
class="action-button"
|
class="action-button"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
:href="browserDownloadUrl || null"
|
:href="browserDownloadUrl || 'https://github.com/inorichi/tachiyomi/releases/latest'"
|
||||||
title="Download latest release"
|
title="Download latest release"
|
||||||
download
|
:download="browserDownloadUrl ? '' : null"
|
||||||
>
|
>
|
||||||
<font-awesome-icon icon="download" />
|
<font-awesome-icon icon="download" />
|
||||||
<span>Download {{ tagName || 'vX.X.X' }}</span>
|
<span>Download {{ tagName || 'vX.X.X' }}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user