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,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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user