Merge pull request #2094 from Violet-Bora-Lee/mouse-event-typo
fix typo and minor grammatical error
This commit is contained in:
commit
d36db207e9
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue