mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
* focus text input in modal prompt
This commit is contained in:
parent
4452e8eb1b
commit
2123d6630d
1 changed files with 1 additions and 0 deletions
|
|
@ -2907,6 +2907,7 @@ function mttModalDialog(dialogType = 'alert')
|
|||
|
||||
$("html").addClass('mtt-modal-dialog-active');
|
||||
$("#modal_overlay, #modal").show();
|
||||
$("#modalTextInput").focus();
|
||||
return dialog;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue