diff --git a/wiki/blabber/dialogue_generator/dialogue-editing.js b/wiki/blabber/dialogue_generator/dialogue-editing.js index 45a090ec..193d0737 100644 --- a/wiki/blabber/dialogue_generator/dialogue-editing.js +++ b/wiki/blabber/dialogue_generator/dialogue-editing.js @@ -24,7 +24,7 @@ import BlabberDialogue from "./blabber-dialogue.js"; exportButton.disabled = true; startInput.disabled = true; startInput.addEventListener('change', e => dialogue.startAt(e.target.value)); - unskippableInput.addEventListener('change', e => dialogue.unskippable(e.target.value)); + unskippableInput.addEventListener('change', e => dialogue.unskippable(e.target.checked)); dialogueLayoutInputs.forEach((e) => e.addEventListener('change', (ev) => { dialogue.layout(document.querySelector('input[name=dialogue-layout]:checked').value); }))