1
0
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:
Mayde 2018-03-14 00:04:18 +08:00 committed by Gary Katsevman
parent ba6a71eb01
commit e833d3e3de

View File

@ -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