1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

Update web/src/lib/actions/focus.ts

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
This commit is contained in:
martin 2024-05-27 21:02:01 +02:00 committed by GitHub
parent 683f503647
commit 43aa1e8162
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,3 @@
export const initInput = (element: HTMLInputElement, timeOut: number = 0) => {
setTimeout(() => element.focus(), timeOut);
export const initInput = (element: HTMLInputElement, timeout: number = 0) => {
setTimeout(() => element.focus(), timeout);
};