Merge branch 'main' of brn.systems:DEXUS/GameHub
This commit is contained in:
commit
68f63bd5d6
BIN
Stranka.zip
BIN
Stranka.zip
Binary file not shown.
14
scripty/index.js
Normal file
14
scripty/index.js
Normal file
@ -0,0 +1,14 @@
|
||||
<script>
|
||||
// Function to handle download
|
||||
function handleDownload() {
|
||||
// Get the download link element
|
||||
var downloadLink = document.getElementById('download-link');
|
||||
// Get the image source URL
|
||||
var imageUrl = downloadLink.querySelector('img').src;
|
||||
// Set the download link href to the image source URL
|
||||
downloadLink.href = imageUrl;
|
||||
}
|
||||
|
||||
// Add event listener to the download link
|
||||
document.getElementById('download-link').addEventListener('click', handleDownload);
|
||||
</script>
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user