mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	fix(link): Allow external links containing # to open
This commit is contained in:
		
							parent
							
								
									a5ba1b0489
								
							
						
					
					
						commit
						69d1c1519f
					
				| @ -211,7 +211,7 @@ export function parseNavigationStateFromUrl(url: string | undefined) { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // Exclude external links that contain #
 |     // Exclude external links that contain #
 | ||||||
|     if (hashIdx !== 0 && !url.includes("/#root")) {  |     if (hashIdx !== 0 && !url.includes("/#root") && !url.includes("/#?searchString")) {  | ||||||
|         return {}; |         return {}; | ||||||
|     } |     } | ||||||
|      |      | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 SiriusXT
						SiriusXT