mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
Merge pull request #202 from lexelby/fix-slowdown
Fix deteriorated responsiveness #191 and polluted console #172
This commit is contained in:
commit
9f3dfdc315
@ -125,7 +125,7 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
|
||||
mainWindow.webContents.setUserAgent(options.userAgent);
|
||||
}
|
||||
|
||||
mainWindow.webContents.on('did-get-response-details', () => {
|
||||
mainWindow.webContents.on('did-finish-load', () => {
|
||||
mainWindow.webContents.send('params', JSON.stringify(options));
|
||||
mainWindow.webContents.insertCSS(getCssToInject());
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user