mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	Avoid reporting errors when performFind has not been called
This commit is contained in:
		| @@ -83,7 +83,7 @@ export default class FindInHtml { | ||||
|  | ||||
|     async findBoxClosed(totalFound: number, currentFound: number) { | ||||
|         const $content = await this.parent?.noteContext?.getContentElement(); | ||||
|         if ($content) { | ||||
|         if (typeof $content?.unmark === 'function') { | ||||
|             $content.unmark(); | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user