From ccc7775c7cff5cdfcad1102ec6ca1ab15612c851 Mon Sep 17 00:00:00 2001 From: azivner Date: Sat, 16 Dec 2017 21:35:44 -0500 Subject: [PATCH] small usability improvements --- public/javascripts/note_tree.js | 9 +++------ views/index.ejs | 5 ++++- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/javascripts/note_tree.js b/public/javascripts/note_tree.js index 24e29da57..bc3b84e88 100644 --- a/public/javascripts/note_tree.js +++ b/public/javascripts/note_tree.js @@ -3,6 +3,7 @@ const noteTree = (function() { const treeEl = $("#tree"); const parentListEl = $("#parent-list"); + const parentListListEl = $("#parent-list-list"); let startNotePath = null; let notesTreeMap = {}; @@ -280,9 +281,7 @@ const noteTree = (function() { } else { parentListEl.show(); - parentListEl.empty(); - - const list = $("