aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/autofocus-end.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/autofocus-end.ts')
-rw-r--r--web_src/js/features/autofocus-end.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/web_src/js/features/autofocus-end.ts b/web_src/js/features/autofocus-end.ts
deleted file mode 100644
index 53e475b543..0000000000
--- a/web_src/js/features/autofocus-end.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export function initAutoFocusEnd() {
- for (const el of document.querySelectorAll<HTMLInputElement>('.js-autofocus-end')) {
- el.focus(); // expects only one such element on one page. If there are many, then the last one gets the focus.
- el.setSelectionRange(el.value.length, el.value.length);
- }
-}