Skip to content

Commit 18f004e

Browse files
authored
docs: fix relative link (electron#26585)
1 parent 03a7089 commit 18f004e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/api/web-contents.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Returns:
155155
be set. If no post data is to be sent, the value will be `null`. Only defined
156156
when the window is being created by a form that set `target=_blank`.
157157

158-
Deprecated in favor of [`webContents.setWindowOpenHandler`](web-contents.md#contentssetwindowopenhandler-handler).
158+
Deprecated in favor of [`webContents.setWindowOpenHandler`](web-contents.md#contentssetwindowopenhandlerhandler).
159159

160160
Emitted when the page requests to open a new window for a `url`. It could be
161161
requested by `window.open` or an external link like `<a target='_blank'>`.
@@ -203,7 +203,7 @@ Returns:
203203
BrowserWindow. They are merged in increasing precedence: options inherited
204204
from the parent, parsed options from the `features` string from
205205
`window.open()`, and options given by
206-
[`webContents.setWindowOpenHandler`](web-contents.md#contentssetwindowopenhandler-handler).
206+
[`webContents.setWindowOpenHandler`](web-contents.md#contentssetwindowopenhandlerhandler).
207207
Unrecognized options are not filtered out.
208208
* `additionalFeatures` String[] - The non-standard features (features not
209209
handled Chromium or Electron) _Deprecated_
@@ -220,7 +220,7 @@ Returns:
220220

221221
Emitted _after_ successful creation of a window via `window.open` in the renderer.
222222
Not emitted if the creation of the window is canceled from
223-
[`webContents.setWindowOpenHandler`](web-contents.md#contentssetwindowopenhandler-handler).
223+
[`webContents.setWindowOpenHandler`](web-contents.md#contentssetwindowopenhandlerhandler).
224224

225225
See [`window.open()`](window-open.md) for more details and how to use this in conjunction with `webContents.setWindowOpenHandler`.
226226

docs/api/window-open.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ BrowserWindow constructor options are set by, in increasing precedence
2626
order: options inherited from the parent, parsed options
2727
from the `features` string from `window.open()`, security-related webPreferences
2828
inherited from the parent, and options given by
29-
[`webContents.setWindowOpenHandler`](web-contents.md#contentssetwindowopenhandler-handler).
29+
[`webContents.setWindowOpenHandler`](web-contents.md#contentssetwindowopenhandlerhandler).
3030
Note that `webContents.setWindowOpenHandler` has final say and full privilege
3131
because it is invoked in the main process.
3232

docs/tutorial/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ which potential security issues are not as widely known.
818818
[browser-view]: ../api/browser-view.md
819819
[webview-tag]: ../api/webview-tag.md
820820
[web-contents]: ../api/web-contents.md
821-
[window-open-handler]: ../api/web-contents.md#contentssetwindowopenhandler-handler
821+
[window-open-handler]: ../api/web-contents.md#contentssetwindowopenhandlerhandler
822822
[will-navigate]: ../api/web-contents.md#event-will-navigate
823823
[open-external]: ../api/shell.md#shellopenexternalurl-options
824824
[sandbox]: ../api/sandbox-option.md

0 commit comments

Comments
 (0)