Rename select all text function
This commit is contained in:
parent
95f9f9c5d4
commit
3fd3c53bd9
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user