mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
basic functionality of history now working
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user