mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-30 20:41:33 +08:00 
			
		
		
		
	fix(client): link to API documentation
Fixes https://github.com/TriliumNext/Notes/issues/1779
This commit is contained in:
		
							parent
							
								
									9cb227c1ca
								
							
						
					
					
						commit
						f9cf542e66
					
				| @ -52,9 +52,9 @@ export default class CodeButtonsWidget extends NoteContextAwareWidget { | |||||||
|             toastService.showMessage(t("code_buttons.opening_api_docs_message")); |             toastService.showMessage(t("code_buttons.opening_api_docs_message")); | ||||||
| 
 | 
 | ||||||
|             if (this.note?.mime.endsWith("frontend")) { |             if (this.note?.mime.endsWith("frontend")) { | ||||||
|                 window.open("https://zadam.github.io/trilium/frontend_api/FrontendScriptApi.html", "_blank"); |                 window.open("https://triliumnext.github.io/Notes/Script%20API/interfaces/Frontend_Script_API.Api.html", "_blank"); | ||||||
|             } else { |             } else { | ||||||
|                 window.open("https://zadam.github.io/trilium/backend_api/BackendScriptApi.html", "_blank"); |                 window.open("https://triliumnext.github.io/Notes/Script%20API/interfaces/Backend_Script_API.Api.html", "_blank"); | ||||||
|             } |             } | ||||||
|         }); |         }); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 FliegendeWurst
						FliegendeWurst