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,9 +263,11 @@
// CTRL + F // CTRL + F
if (e.ctrlKey && e.which === 70) { if (e.ctrlKey && e.which === 70) {
if (!todoModalIsShown) {
$("#search-todo").focus(); $("#search-todo").focus();
return false; return false;
} }
}
// ALT + N // ALT + N
if (e.altKey && e.which === 78) { if (e.altKey && e.which === 78) {