Skip to content

Commit faea4c5

Browse files
committed
EN, CZ : Link to latest version updated to use of embedded function
1 parent 2697801 commit faea4c5

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

cs/README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,7 @@ je moderní a rychlý nástroj pro prohlížení dokumentace Markdown a HTML př
1212
5. Uvidíte [uživatelskou dokumentaci][userdoc] přímo v HelpViewer, podobně jako teď vidíte tento web.
1313

1414
<script>
15-
async function insertDownloadLink() {
16-
const fname = 'package.zip';
17-
const path = await getLatestReleaseBundleUri(null, fname);
18-
const parentO = document.getElementById('linkhereI');
19-
parentO.innerHTML = `<a href="${path}" alt="${fname}" title= "${path}">${fname}</a>`;
20-
}
21-
22-
insertDownloadLink();
15+
insertDownloadLink('linkhereI');
2316
</script>
2417

2518
## Použité produkty třetích stran

en/README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,7 @@ is a modern, portable and fast tool for viewing Markdown and HTML documentation
1212
5. You will see e.g. the [user documentation][userdoc] directly in HelpViewer, just like you are seeing this web page.
1313

1414
<script>
15-
async function insertDownloadLink() {
16-
const fname = 'package.zip';
17-
const path = await getLatestReleaseBundleUri(null, fname);
18-
const parentO = document.getElementById('linkhereI');
19-
parentO.innerHTML = `<a href="${path}" alt="${fname}" title= "${path}">${fname}</a>`;
20-
}
21-
22-
insertDownloadLink();
15+
insertDownloadLink('linkhereI');
2316
</script>
2417

2518
## Used 3rd party products

0 commit comments

Comments
 (0)