Fix: update title on input

This commit is contained in:
eight 2018-10-14 17:32:49 +08:00
parent a39405ac4c
commit 7acb131642

View File

@ -18,6 +18,7 @@ function createSectionsEditor(style) {
nameEl.addEventListener('input', () => { nameEl.addEventListener('input', () => {
dirty.modify('name', style.name, nameEl.value); dirty.modify('name', style.name, nameEl.value);
style.name = nameEl.value; style.name = nameEl.value;
updateTitle();
}); });
const enabledEl = $('#enabled'); const enabledEl = $('#enabled');