mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
small simplification in parsing
This commit is contained in:
@@ -12,5 +12,6 @@ jQuery.hotkeys.options.filterContentEditable = true;
|
||||
$(document).bind('keypress', 'alt+ctrl+h', function() {
|
||||
const toggle = $(".hide-toggle");
|
||||
|
||||
// use visibility instead of display so that content isn't moved around and stays set in place
|
||||
toggle.css('visibility', toggle.css('visibility') === 'hidden' ? 'visible' : 'hidden');
|
||||
});
|
||||
Reference in New Issue
Block a user