Skip to content

Commit c85ca87

Browse files
authored
Update update-check.html
1 parent 00c9d17 commit c85ca87

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

docs/update-check.html

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -182,26 +182,13 @@ <h3>How can I help?</h3>
182182
const result = compareVersions(userVersion, latestVersion);
183183

184184
if (result < 0) {
185-
⚠️ Your version (${userVersion}) is outdated.<br>
186-
<strong>Latest version:</strong> ${latestVersion}<br>
187-
<a href="https://github.com/builtbybel/CrapFixer/releases" target="_blank">⬇️ Download here</a>
188-
&nbsp;|&nbsp;
189-
<a href="#" onclick="openChangelog('${latestVersion}')">📄 View Changelog</a>
190-
`;
191-
192-
} else if (result === 0) {
185+
status.innerHTML = `⚠️ Your version (${userVersion}) is outdated.<br><strong>Latest version:</strong> ${latestVersion}<br><a href="https://github.com/builtbybel/CrapFixer/releases">⬇️ Download here</a>`;
186+
} else if (result === 0) {
193187
status.innerHTML = `✅ Your version (${userVersion}) is up to date.`;
194188
} else {
195189
status.innerHTML = `✅ Your version (${userVersion}) is newer than the official release (${latestVersion}).<br><em>Note: You may be using a development build.</em>`;
196190
}
197191
}
198-
199-
<!-- Show changelogWindow-->
200-
function openChangelog(version) {
201-
const url = `https://github.com/builtbybel/CrapFixer/releases/tag/${version}`;
202-
window.open(url, "changelogWindow", "width=800,height=600,resizable=yes,scrollbars=yes");
203-
}
204-
205192
</script>
206193
</body>
207194
</html>

0 commit comments

Comments
 (0)