use consts
This commit is contained in:
parent
f033d26b21
commit
6c32827ae5
|
@ -130,9 +130,9 @@ async function run() {
|
|||
handleTilePrefix();
|
||||
|
||||
function addTiles() {
|
||||
let image = el("preview").getAttribute("src");
|
||||
let gameData = el("game-data").value;
|
||||
let prefix = el("prefix").value;
|
||||
let image = imagePreview.getAttribute("src");
|
||||
let gameData = textareaGameDataInput.value;
|
||||
let prefix = inputPrefix.value;
|
||||
|
||||
textareaGameDataOutput.value = add_tiles(gameData, image, prefix);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue