Skip to content

Commit d75b5e8

Browse files
authored
Correct Event: isTrusted exception for elem.click()
1 parent 4be29f6 commit d75b5e8

File tree

1 file changed

+2
-2
lines changed
  • files/en-us/web/api/event/istrusted

1 file changed

+2
-2
lines changed

files/en-us/web/api/event/istrusted/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ The **`isTrusted`** read-only property of the
1313
when the event was generated by the user agent (including via user actions and programmatic methods such as {{domxref("HTMLElement.focus()")}}),
1414
and `false` when the event was dispatched via
1515
{{domxref("EventTarget.dispatchEvent()")}}.
16-
The only exception is the `click` event, which initializes the `isTrusted`
17-
property to `false` in user agents.
16+
The `click` event fired through {{domxref("HTMLElement.click()")}} always sets the `isTrusted`
17+
property to `false`.
1818

1919
## Value
2020

0 commit comments

Comments
 (0)