diff --git a/lib/browser/api/menu.js b/lib/browser/api/menu.js index 33e0b1e4ce6..d4a2aafb793 100644 --- a/lib/browser/api/menu.js +++ b/lib/browser/api/menu.js @@ -86,6 +86,8 @@ Menu.prototype.popup = function (window, x, y, positioningItem) { } this.popupAt(newWindow, newX, newY, newPosition) + + return { browserWindow: newWindow, x: newX, y: newY, position: newPosition } } Menu.prototype.closePopup = function (window) {