[c] changed random image chooser to choose optimized images
This commit is contained in:
parent
6fc6fbaa45
commit
521be14975
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
onMount(() => {
|
||||
document.getElementById("banner").src = document
|
||||
.getElementById("banner")
|
||||
.src.replace("pic0", `${modpack}/pic${rand(1, 30)}`);
|
||||
.src.replace("pic0", `${modpack}/optimized/pic${rand(1, 30)}`);
|
||||
console.log(document.getElementById("banner").src);
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue