Skip to content

Commit 519eee2

Browse files
committed
Hardcode link to latest release
Signed-off-by: Ovenoboyo <ovenoboyo@gmail.com>
1 parent 1442182 commit 519eee2

2 files changed

Lines changed: 18 additions & 27 deletions

File tree

assets/js/downloadUtils.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,4 @@ export async function setupDownloadButton () {
164164
} else {
165165
setElemProperty('downloads', 'innerHTML', "Sorry Moosync is not available for your platform yet")
166166
}
167-
168-
setElemProperty('other-download', 'onclick', () => {
169-
window.open('https://github.com/Moosync/Moosync/releases/latest')
170-
})
171167
}

index.html

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -71,26 +71,21 @@
7171
<span class="logo">
7272
<img loading="lazy" src="/assets/img/logo.svg" title="Moosync" alt="moosync logo" class="logo__img" />
7373
</span>
74-
</a>
75-
<div class="navbar__buttons">
76-
<button class="navigation__buttons"><a href="#">Home</a></button>
77-
<button class="navigation__buttons">
78-
<a
79-
href="https://www.iubenda.com/privacy-policy/70189564/full-legal"
80-
target="_blank"
81-
rel="noopener noreferrer">Privacy Policy</a
82-
>
83-
</button>
84-
<button class="navigation__buttons">
85-
<a href="/wiki/" rel="noopener noreferrer">Documentation</a>
86-
</button>
87-
<button class="navigation__buttons">
88-
<a href="https://github.com/Moosync" rel="noopener noreferrer"
89-
>Github</a
90-
>
91-
</button>
92-
<button id="download__btn" class="navigation__buttons">Download</button>
93-
</div>
74+
</a>
75+
<div class="navbar__buttons">
76+
<button class="navigation__buttons"><a href="#">Home</a></button>
77+
<button class="navigation__buttons">
78+
<a href="https://www.iubenda.com/privacy-policy/70189564/full-legal" target="_blank"
79+
rel="noopener noreferrer">Privacy Policy</a>
80+
</button>
81+
<button class="navigation__buttons">
82+
<a href="/wiki/" rel="noopener noreferrer">Documentation</a>
83+
</button>
84+
<button class="navigation__buttons">
85+
<a href="https://github.com/Moosync" rel="noopener noreferrer">Github</a>
86+
</button>
87+
<button id="download__btn" class="navigation__buttons">Download</button>
88+
</div>
9489
</div>
9590
</nav>
9691
<header class="heading__page">
@@ -139,9 +134,9 @@
139134
</template>
140135
</div>
141136

142-
<div class="other__platform" id="other-download">
143-
Download for other platforms
144-
</div>
137+
<a class="other__platform" href="https://github.com/Moosync/Moosync/releases/latest">Download for other
138+
platforms
139+
</a>
145140
</header>
146141
<section class="moosync__usage">
147142
<p id="usage__section__heading" class="moosync__section__heading">

0 commit comments

Comments
 (0)