Merge pull request #2094 from Violet-Bora-Lee/mouse-event-typo

fix typo and minor grammatical error
This commit is contained in:
Ilya Kantor 2020-09-05 16:59:44 +03:00 committed by GitHub
commit d36db207e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ The possible values of `event.button` are:
| Button state | `event.button` |
|--------------|----------------|
| Left button (primary) | 0 |
| Middle button (auxillary) | 1 |
| Middle button (auxiliary) | 1 |
| Right button (secondary) | 2 |
| X1 button (back) | 3 |
| X2 button (forward) | 4 |
@ -156,7 +156,7 @@ Move the mouse over the input field to see `clientX/clientY` (the example is in
Double mouse click has a side-effect that may be disturbing in some interfaces: it selects text.
For instance, a double-click on the text below selects it in addition to our handler:
For instance, double-clicking on the text below selects it in addition to our handler:
```html autorun height=50
<span ondblclick="alert('dblclick')">Double-click me</span>