fixes for indentation and keyboard shortcuts

This commit is contained in:
azivner
2018-01-22 22:14:03 -05:00
parent d8b7763dea
commit 93d0e0aa2d
2 changed files with 24 additions and 10 deletions

View File

@@ -4,7 +4,6 @@ const noteTree = (function() {
const treeEl = $("#tree");
const parentListEl = $("#parent-list");
const parentListListEl = $("#parent-list-list");
const noteDetailEl = $("#note-detail");
let startNotePath = null;
let notesTreeMap = {};
@@ -504,7 +503,9 @@ const noteTree = (function() {
return false;
},
"return": node => {
noteDetailEl.focus();
noteEditor.focus();
return false;
},
"backspace": node => {
if (!isTopLevelNode(node)) {