Skip to content

Commit

Permalink
chore(dom.js): Fix misspellings (#5008)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maysjtu authored and gkatsev committed Mar 13, 2018
1 parent ba6a71e commit e833d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/utils/dom.js
Expand Up @@ -761,7 +761,7 @@ export function isSingleLeftClick(event) {
// otherwise `mousedown` should be enough for a button

if (event.button === undefined && event.buttons === undefined) {
// Why do we need `butttons` ?
// Why do we need `buttons` ?
// Because, middle mouse sometimes have this:
// e.button === 0 and e.buttons === 4
// Furthermore, we want to prevent combination click, something like
Expand Down

0 comments on commit e833d3e

Please sign in to comment.