image dependancy
This commit is contained in:
parent
f7c68bd2c8
commit
879dfad1cf
@ -1,5 +1,5 @@
|
|||||||
function updateMonsterSprite() {
|
function updateMonsterSprite() {
|
||||||
var selectedMonster = document.getElementById("monsterDropdown").value;
|
var selectedMonster = document.getElementById("monsterDropdown").value.toLowerCase();
|
||||||
var spriteUrl = `/img/monster/${selectedMonster}.png`;
|
var spriteUrl = `/img/monster/${selectedMonster}.png`;
|
||||||
|
|
||||||
var iframe = document.getElementById("monsterSpriteIframe");
|
var iframe = document.getElementById("monsterSpriteIframe");
|
||||||
|
Loading…
Reference in New Issue
Block a user