file/attachment upload, wiP

This commit is contained in:
azivner
2018-02-14 23:31:20 -05:00
parent 8028b09351
commit cdde6a4d8e
14 changed files with 166 additions and 93 deletions

View File

@@ -1,5 +1,5 @@
const api = (function() {
const pluginButtonsEl = $("#plugin-buttons");
const $pluginButtons = $("#plugin-buttons");
async function activateNote(notePath) {
await noteTree.activateNode(notePath);
@@ -10,7 +10,7 @@ const api = (function() {
button.attr('id', buttonId);
pluginButtonsEl.append(button);
$pluginButtons.append(button);
}