Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Jan 16, 2025
1 parent 6939e91 commit 2d1d937
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/element/auxclick_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ A {{domxref("PointerEvent")}}. Inherits from {{domxref("MouseEvent")}}.
{{InheritanceDiagram("PointerEvent")}}

> [!NOTE]
> In earlier versions of the specification, the event type for this event was a {{domxref("MouseEvent")}}, check [browser compatibility](#browser_compatibility) for more information.
> In earlier versions of the specification, the event type for this event was a {{domxref("MouseEvent")}}. Check [browser compatibility](#browser_compatibility) for more information.
## Event properties

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/element/click_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ A {{domxref("PointerEvent")}}. Inherits from {{domxref("MouseEvent")}}.
{{InheritanceDiagram("PointerEvent")}}

> [!NOTE]
> In earlier versions of the specification, the event type for this event was a {{domxref("MouseEvent")}}, check [browser compatibility](#browser_compatibility) for more information.
> In earlier versions of the specification, the event type for this event was a {{domxref("MouseEvent")}}. Check [browser compatibility](#browser_compatibility) for more information.
## Event properties

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/element/contextmenu_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ A {{domxref("PointerEvent")}}. Inherits from {{domxref("MouseEvent")}}.
{{InheritanceDiagram("PointerEvent")}}

> [!NOTE]
> In earlier versions of the specification, the event type for this event was a {{domxref("MouseEvent")}}, check [browser compatibility](#browser_compatibility) for more information.
> In earlier versions of the specification, the event type for this event was a {{domxref("MouseEvent")}}. Check [browser compatibility](#browser_compatibility) for more information.
## Event properties

Expand Down Expand Up @@ -72,7 +72,7 @@ _This interface inherits properties from {{domxref("MouseEvent")}} and {{domxref
In this example, the default action of the `contextmenu` event is canceled using `preventDefault()` when the `contextmenu` event is fired at the first paragraph. As a result, the first paragraph will do nothing when right-clicked, while the second paragraph will show the standard context menu offered by your browser.

> [!NOTE]
> In earlier versions of the specification, the event type for this event was a {{domxref("MouseEvent")}}, check [browser compatibility](#browser_compatibility) for more information.
> In Firefox, if you hold down the <kbd>Shift</kbd> key while right-clicking, then the context menu is shown without the `contextmenu` event being fired. Therefore, canceling the event does not stop the context menu from being shown.
#### HTML

Expand Down

0 comments on commit 2d1d937

Please sign in to comment.