diff --git a/edit/edit.js b/edit/edit.js index af23297d..36451969 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -1484,6 +1484,7 @@ function updateTitle() { function validate() { const name = $('#name').value; if (name === '') { + $('#name').focus(); return t('styleMissingName'); } // validate the regexps