From f59d078eea981ffcd48e15d565640bcdd6d79c04 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 20 Feb 2018 19:20:11 -0600 Subject: [PATCH] Use more idiomatic JS in WebContents' init() --- lib/browser/api/web-contents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/browser/api/web-contents.js b/lib/browser/api/web-contents.js index 749945272cff..e5cd60ea5895 100644 --- a/lib/browser/api/web-contents.js +++ b/lib/browser/api/web-contents.js @@ -297,7 +297,7 @@ WebContents.prototype._init = function () { window: event.sender.getOwnerBrowserWindow(), x: params.x, y: params.y, - callback: callback + callback }) })