mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	don't allow deleting hoisted note + other related fixes, closes #488
This commit is contained in:
		| @@ -60,14 +60,6 @@ function assertArguments() { | ||||
|     } | ||||
| } | ||||
|  | ||||
| function isTopLevelNode(node) { | ||||
|     return isRootNode(node.getParent()); | ||||
| } | ||||
|  | ||||
| function isRootNode(node) { | ||||
|     return node.data.noteId === "root"; | ||||
| } | ||||
|  | ||||
| function escapeHtml(str) { | ||||
|     return $('<div/>').text(str).html(); | ||||
| } | ||||
| @@ -211,8 +203,6 @@ export default { | ||||
|     isElectron, | ||||
|     isMac, | ||||
|     assertArguments, | ||||
|     isTopLevelNode, | ||||
|     isRootNode, | ||||
|     escapeHtml, | ||||
|     stopWatch, | ||||
|     formatValueWithWhitespace, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user