mirror of
https://github.com/videojs/video.js.git
synced 2025-02-02 11:34:50 +02:00
chore(dom.js): Fix misspellings (#5008)
This commit is contained in:
parent
ba6a71eb01
commit
e833d3e3de
@ -761,7 +761,7 @@ export function isSingleLeftClick(event) {
|
|||||||
// otherwise `mousedown` should be enough for a button
|
// otherwise `mousedown` should be enough for a button
|
||||||
|
|
||||||
if (event.button === undefined && event.buttons === undefined) {
|
if (event.button === undefined && event.buttons === undefined) {
|
||||||
// Why do we need `butttons` ?
|
// Why do we need `buttons` ?
|
||||||
// Because, middle mouse sometimes have this:
|
// Because, middle mouse sometimes have this:
|
||||||
// e.button === 0 and e.buttons === 4
|
// e.button === 0 and e.buttons === 4
|
||||||
// Furthermore, we want to prevent combination click, something like
|
// Furthermore, we want to prevent combination click, something like
|
||||||
|
Loading…
x
Reference in New Issue
Block a user