basic functionality of history now working

This commit is contained in:
azivner
2017-09-23 10:18:08 -04:00
parent 647bbcaee1
commit a14257a31c
4 changed files with 36 additions and 17 deletions

View File

@@ -20,14 +20,14 @@ $(function() {
jQuery.hotkeys.options.filterInputAcceptingElements = true;
jQuery.hotkeys.options.filterContentEditable = true;
// $(document).bind('keydown', 'alt+h', function() {
// const toggle = $(".hide-toggle");
// const hidden = toggle.css('display') === 'none';
//
// toggle.css('display', hidden ? 'block' : 'none');
//
// $("#noteDetailWrapper").css("width", hidden ? "750px" : "100%");
// });
$(document).bind('keydown', 'alt+m', function() {
const toggle = $(".hide-toggle");
const hidden = toggle.css('display') === 'none';
toggle.css('display', hidden ? 'block' : 'none');
$("#noteDetailWrapper").css("width", hidden ? "750px" : "100%");
});
$(document).bind('keydown', 'alt+s', function() {
$("input[name=search]").focus();