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