Merge pull request #68 from PhoenixTwoFive/61-properly-set-focus-on-opening-enqueue-modal

Set focus on singer name input when modal is shown
This commit is contained in:
Phillip Kühne 2023-06-30 00:16:09 +02:00 committed by GitHub
commit 0a038029f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,9 @@
e.preventDefault();
submitModal();
});
$('#enqueueModal').on('shown.bs.modal', function (e) {
$("#singerNameInput").focus();
})
});