Remove "async" flag from the menu.popup() options

All menus have become async after the Chromium 61 upgrade.
Fixes #11242.
This commit is contained in:
Aleksei Kuzmin 2017-11-25 13:29:14 +01:00
parent df0c7e2f74
commit 9c5acf6233

View file

@ -67,9 +67,6 @@ The `menu` object has the following instance methods:
Must be declared if `y` is declared.
* `y` Number (optional) - Default is the current mouse cursor position.
Must be declared if `x` is declared.
* `async` Boolean (optional) - Set to `true` to have this method return
immediately called, `false` to return after the menu has been selected
or closed. Defaults to `false`.
* `positioningItem` Number (optional) _macOS_ - The index of the menu item to
be positioned under the mouse cursor at the specified coordinates. Default
is -1.