Skip to content

Commit

Permalink
Change Notification().silent default (mdn#35714)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Sep 3, 2024
1 parent 860cbd3 commit e011d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/notification/notification/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ new Notification(title, options)
- `silent` {{optional_inline}}
- : A boolean value specifying whether the
notification is silent (no sounds or vibrations issued), regardless of the device
settings. The default is `null`. If `true`, then `vibrate` must not be present.
settings. The default, `null`, means to respect device defaults. If `true`, then `vibrate` must not be present.

### Return value

Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/api/notification/silent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ settings. This is specified in the `silent` option of the

## Value

A boolean value. `false` is the default; `true` makes
the notification silent.
A boolean value or `null`. If `true`, the notification is silent; if `null`, the device's default settings are respected.

## Examples

Expand Down

0 comments on commit e011d56

Please sign in to comment.