focus task name on modal open
This commit is contained in:
@@ -9,3 +9,11 @@ export function allowDrag(event: DragEvent) {
|
||||
export function reload() {
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
export function setFocus() {
|
||||
document.getElementById("focused")?.focus();
|
||||
}
|
||||
|
||||
export function setFocusWithDelay() {
|
||||
setTimeout(setFocus, 100);
|
||||
}
|
||||
Reference in New Issue
Block a user