From c2bf6c2460c87cc844482b1fdd034af3d9594edb Mon Sep 17 00:00:00 2001 From: vsemozhetbyt Date: Wed, 6 Jul 2016 18:58:50 +0300 Subject: [PATCH] Fix disordered definitions in webContents doc :memo: Swap `clearSelection` and `keepSelection` definitions for `webContents.stopFindInPage(action)` that seems to be in wrong order. [ci skip] --- docs/api/web-contents.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index c3d175125b84..e33d3d0caccf 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -649,8 +649,8 @@ the request can be obtained by subscribing to * `action` String - Specifies the action to take place when ending [`webContents.findInPage`](web-contents.md#webcontentfindinpage) request. - * `clearSelection` - Translate the selection into a normal selection. - * `keepSelection` - Clear the selection. + * `clearSelection` - Clear the selection. + * `keepSelection` - Translate the selection into a normal selection. * `activateSelection` - Focus and click the selection node. Stops any `findInPage` request for the `webContents` with the provided `action`.