Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 7c8e6dd

Browse files
committed
Deprecation warnings
1 parent 45e09bb commit 7c8e6dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/main.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function openMainWindow() {
2424
mainWindow.on('resize', function() {
2525
size = mainWindow.getSize();
2626
config.set({'width': size[0],
27-
'height': size[1]})
27+
'height': size[1]});
2828
});
2929

3030
mainWindow.on('page-title-updated', function(event) {
@@ -68,7 +68,7 @@ app.once('ready', function() {
6868
e.preventDefault();
6969
Shell.openExternal(url);
7070
});
71-
win.loadUrl('https://www.irccloud.com/about');
71+
win.loadURL('https://www.irccloud.com/about');
7272
win.show();
7373
}
7474
},
@@ -150,7 +150,7 @@ app.once('ready', function() {
150150
{
151151
label: 'Reload',
152152
accelerator: 'Command+R',
153-
click: function() { BrowserWindow.getFocusedWindow().reloadIgnoringCache(); }
153+
click: function() { BrowserWindow.getFocusedWindow().webContents.reloadIgnoringCache(); }
154154
},
155155
{
156156
label: 'Toggle DevTools',

0 commit comments

Comments
 (0)