From 138456ed63d29227b9b565d9b1acfed04b356364 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Sat, 26 Oct 2019 21:50:41 +0100 Subject: [PATCH] Update main.js --- main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.js b/main.js index 01fac5c..a0f56a3 100755 --- a/main.js +++ b/main.js @@ -336,13 +336,12 @@ function createWindow() { mainWindow.webContents.on("new-window", function(e, url, frameName, disposition, options) { // if a child window opens... modify any other options such as width/height, etc // in this case make the child overlap the parent exactly... + //console.log("NEW WINDOW",url); var w = mainWindow.getBounds(); options.x = w.x; options.y = w.y; options.width = w.width; options.height = w.height; - //re-use the same child name so all "2nd" windows use the same one. - //frameName = "child"; }) mainWindow.on('closed', () => {