mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +01:00 
			
		
		
		
	links to documentation for attributes, links and search + fix for opening external links
This commit is contained in:
		| @@ -36,7 +36,7 @@ async function createMainWindow() { | ||||
|     win.on('closed', onClosed); | ||||
|  | ||||
|     win.webContents.on('new-window', (e, url) => { | ||||
|         if (url !== mainWindow.webContents.getURL()) { | ||||
|         if (url !== win.webContents.getURL()) { | ||||
|             e.preventDefault(); | ||||
|             require('electron').shell.openExternal(url); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user