Commit 69f4d81f authored by ransome1's avatar ransome1
Browse files

Merge branch 'develop' of into develop

parents 5f4e3592 d100b74a
......@@ -58,7 +58,16 @@ export async function registerShortcuts() {
if(event.key === "Escape") {
// if search is focused, lose focus on escape
if("todoTableSearch") todoTableSearch.blur();
if("todoTableSearch") {
return false;
// if 'add as todo' is focused, return to search
if("todoTableSearchAddTodo") {
return false;
// if a datepicker container is detected interrupt, datepicker destruction is handled in module
if(document.querySelector(".datepicker")) return false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment