search notes input box

This commit is contained in:
azivner
2017-08-28 23:10:04 -04:00
parent b22d55c183
commit 36dbcfcce0
4 changed files with 49 additions and 3 deletions

View File

@@ -97,6 +97,9 @@ $(document).on('click', 'div.popover-content a', function(e) {
let linkInfo;
$(document).bind('keydown', 'alt+l', function() {
var range = $('#noteDetail').summernote('createRange');
console.log("range:", range);
$("#noteAutocomplete").val('');
$("#linkTitle").val('');
@@ -153,4 +156,8 @@ $("#addLinkButton").click(function() {
isNewWindow: true
});
}
});
$(document).bind('keydown', 'alt+s', function() {
$("input[name=search]").focus();
});