[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(() => {
|
onMount(() => {
|
||||||
document.getElementById("banner").src = document
|
document.getElementById("banner").src = document
|
||||||
.getElementById("banner")
|
.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);
|
console.log(document.getElementById("banner").src);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue