From 3fd3c53bd9eed1a6f14b2042b1bdf82e20c38c31 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Wed, 5 Sep 2018 07:28:55 -0500 Subject: [PATCH] Rename select all text function --- manage/config-dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }