don't try to use `this` without context
This commit is contained in:
parent
97a05984ab
commit
f033d26b21
|
@ -118,7 +118,7 @@ async function run() {
|
||||||
});
|
});
|
||||||
|
|
||||||
function handleTilePrefix() {
|
function handleTilePrefix() {
|
||||||
if (this.value) {
|
if (inputPrefix.value) {
|
||||||
spanTileNamePreview.innerText = `'${this.value} 1' etc.`
|
spanTileNamePreview.innerText = `'${this.value} 1' etc.`
|
||||||
} else {
|
} else {
|
||||||
spanTileNamePreview.innerText = "'forest 1' etc."
|
spanTileNamePreview.innerText = "'forest 1' etc."
|
||||||
|
|
Loading…
Reference in New Issue