mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
not hiding the elements for alt-m, just lowering opacity
This commit is contained in:
@@ -6,10 +6,7 @@ jQuery.hotkeys.options.filterContentEditable = false;
|
||||
jQuery.hotkeys.options.filterTextInputs = false;
|
||||
|
||||
$(document).bind('keydown', 'alt+m', e => {
|
||||
const toggle = $(".hide-toggle");
|
||||
const hidden = toggle.css('visibility') === 'hidden';
|
||||
|
||||
toggle.css('visibility', hidden ? 'visible' : 'hidden');
|
||||
$(".hide-toggle").toggleClass("suppressed");
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user