tweaks, fixes, refactorings, creating new note from detail, not tree

This commit is contained in:
azivner
2018-12-29 10:04:59 +01:00
parent 0b4a44a403
commit 2f680c4326
10 changed files with 81 additions and 86 deletions

View File

@@ -3,6 +3,7 @@ import bundleService from "./bundle.js";
import infoService from "./info.js";
import server from "./server.js";
import noteDetailService from "./note_detail.js";
import utils from "./utils.js";
let codeEditor = null;
@@ -94,7 +95,7 @@ function onNoteChange(func) {
codeEditor.on('change', func);
}
$(document).bind('keydown', "ctrl+return", executeCurrentNote);
utils.bindShortcut("ctrl+return", executeCurrentNote);
$executeScriptButton.click(executeCurrentNote);