diff --git a/manage/config-dialog.js b/manage/config-dialog.js index 121c0e36..3a1ae9e7 100644 --- a/manage/config-dialog.js +++ b/manage/config-dialog.js @@ -264,7 +264,7 @@ function configDialog(style) { type: va.type, onchange: updateVarOnChange, oninput: updateVarOnInput, - onfocus: focusInput, + onfocus: selectAllOnFocus, }; if (va.type === 'range') { options.min = va.range[0]; @@ -314,7 +314,7 @@ function configDialog(style) { } } - function focusInput(event) { + function selectAllOnFocus(event) { event.target.select(); }