mirror of
https://github.com/supanadit/todo.git
synced 2024-11-22 01:56:21 +00:00
fix: search bar while open todo modal
This commit is contained in:
parent
53f03a6613
commit
75d929128b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user