mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-10-31 12:03:39 +00:00 
			
		
		
		
	linting errors
This commit is contained in:
		| @@ -197,23 +197,11 @@ app.on('ready', () => { | ||||
| 		} | ||||
| 	}); | ||||
|  | ||||
| 	// electronLocalshortcut.register(mainWindow, 'CommandOrControl+=', () => { | ||||
| 	// 	page.send('zoomIn'); | ||||
| 	// }); | ||||
|  | ||||
| 	// electronLocalshortcut.register(mainWindow, 'CommandOrControl+-', () => { | ||||
| 	// 	page.send('zoomOut'); | ||||
| 	// }); | ||||
|  | ||||
| 	// electronLocalshortcut.register(mainWindow, 'CommandOrControl+0', () => { | ||||
| 	// 	page.send('zoomActualSize'); | ||||
| 	// }); | ||||
| 	 | ||||
| 	page.on('dom-ready', () => { | ||||
| 		page.insertCSS(fs.readFileSync(path.join(__dirname, 'preload.css'), 'utf8')); | ||||
| 		mainWindow.show(); | ||||
| 	}); | ||||
| 	 | ||||
|  | ||||
| 	page.on('new-window', (event, url) => { | ||||
| 		if (linkIsInternal(checkWindowURL(), url) && url.match(skipImages) === null) { | ||||
| 			event.preventDefault(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user