🎨
This commit is contained in:
parent
fd30ed0edd
commit
55d4db1387
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ let wrapWebContents = function(webContents) {
|
||||||
|
|
||||||
// WebContents::send(channel, args..)
|
// WebContents::send(channel, args..)
|
||||||
webContents.send = function() {
|
webContents.send = function() {
|
||||||
var args, channel;
|
var args = 2 <= arguments.length ? slice.call(arguments, 1) : [];
|
||||||
channel = arguments[0], args = 2 <= arguments.length ? slice.call(arguments, 1) : [];
|
var channel = arguments[0];
|
||||||
return this._send(channel, slice.call(args));
|
return this._send(channel, slice.call(args));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue