File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,7 @@ Obsah kapitoly se načte, zobrazí se a s krátkým odstupem se provedou potřeb
12121. Stáhněte si balíček <span id="linkhereI"></span> a rozbalte jej.
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
@@ -28,12 +21,5 @@ Ukázka připraví hypertextový odkaz na stažení poslední vydané verze **He
28211 . Stáhněte si balíček <span id =" linkhereI " ></span > a rozbalte jej.
2922
3023<script >
31- async function insertDownloadLink () {
32- const fname = ' package.zip' ;
33- const path = await getLatestReleaseBundleUri (null , fname);
34- const parentO = document .getElementById (' linkhereI' );
35- parentO .innerHTML = ` <a href =" ${path}" alt =" ${fname}" title = " ${path}" >${ fname} </a >` ;
36- }
37-
38- insertDownloadLink ();
24+ insertDownloadLink (' linkhereI' );
3925</script >
You can’t perform that action at this time.
0 commit comments