Merge branch 'main' of brn.systems:DEXUS/GameHub

This commit is contained in:
Adam Sramek 2024-06-05 16:19:32 +02:00
commit 68f63bd5d6
3 changed files with 16 additions and 1 deletions

Binary file not shown.

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