fix: search bar while open todo modal

This commit is contained in:
Supan Adit Pratama 2023-03-05 19:47:41 +07:00
parent 53f03a6613
commit 75d929128b

View File

@ -263,8 +263,10 @@
// CTRL + F
if (e.ctrlKey && e.which === 70) {
$("#search-todo").focus();
return false;
if (!todoModalIsShown) {
$("#search-todo").focus();
return false;
}
}
// ALT + N