mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
don't allow deleting hoisted note + other related fixes, closes #488
This commit is contained in:
@@ -42,7 +42,7 @@ function initContextMenu(event, contextMenuItems, selectContextMenuItem) {
|
||||
});
|
||||
|
||||
if (item.enabled !== undefined && !item.enabled) {
|
||||
$link.addClass("disabled");
|
||||
$item.addClass("disabled");
|
||||
}
|
||||
|
||||
if (item.items) {
|
||||
|
||||
Reference in New Issue
Block a user