fixes in closing tabs and elsewhere

This commit is contained in:
zadam
2020-02-09 21:13:05 +01:00
parent 4401a8e1e8
commit 826c434630
15 changed files with 94 additions and 83 deletions

View File

@@ -4,6 +4,7 @@ import treeCache from "../services/tree_cache.js";
import toastService from "../services/toast.js";
import appContext from "../services/app_context.js";
import noteCreateService from "../services/note_create.js";
import utils from "../services/utils.js";
const TPL = `
<div class="search-box">
@@ -126,6 +127,8 @@ export default class SearchBoxWidget extends BasicWidget {
}
showSearchListener() {
utils.saveFocusedElement();
this.$searchBox.slideDown();
this.$searchBox.tooltip({