From e480cb7103df6702d0364cf76d1f20724efc49dc Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Tue, 14 Mar 2023 14:17:28 +0100 Subject: [PATCH] docs: clarify `open-url` not preventable (#37564) docs: clarify open-url not preventable --- docs/api/app.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/api/app.md b/docs/api/app.md index e29973ad52..9bae9c860d 100755 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -127,8 +127,6 @@ Emitted when the user wants to open a URL with the application. Your application `Info.plist` file must define the URL scheme within the `CFBundleURLTypes` key, and set `NSPrincipalClass` to `AtomApplication`. -You should call `event.preventDefault()` if you want to handle this event. - As with the `open-file` event, be sure to register a listener for the `open-url` event early in your application startup to detect if the the application being is being opened to handle a URL. If you register the listener in response to a