Fix disordered definitions in webContents doc

📝 Swap `clearSelection` and `keepSelection` definitions
for `webContents.stopFindInPage(action)` that seems to be in wrong order.

[ci skip]
This commit is contained in:
vsemozhetbyt 2016-07-06 18:58:50 +03:00 committed by GitHub
parent 92b97d3576
commit c2bf6c2460

View file

@ -649,8 +649,8 @@ the request can be obtained by subscribing to
* `action` String - Specifies the action to take place when ending * `action` String - Specifies the action to take place when ending
[`webContents.findInPage`](web-contents.md#webcontentfindinpage) request. [`webContents.findInPage`](web-contents.md#webcontentfindinpage) request.
* `clearSelection` - Translate the selection into a normal selection. * `clearSelection` - Clear the selection.
* `keepSelection` - Clear the selection. * `keepSelection` - Translate the selection into a normal selection.
* `activateSelection` - Focus and click the selection node. * `activateSelection` - Focus and click the selection node.
Stops any `findInPage` request for the `webContents` with the provided `action`. Stops any `findInPage` request for the `webContents` with the provided `action`.