Browse Source

docs: clarify `open-url` not preventable (#37564)

docs: clarify open-url not preventable
Shelley Vohr 2 years ago
parent
commit
e480cb7103
1 changed files with 0 additions and 2 deletions
  1. 0 2
      docs/api/app.md

+ 0 - 2
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