Rename class touchpad to touch
This commit is contained in:
parent
b3a4ca7449
commit
7fc46bf38c
3 changed files with 8 additions and 8 deletions
|
|
@ -179,7 +179,7 @@ function handleStart(evt) {
|
|||
}
|
||||
var touches = evt.changedTouches;
|
||||
for (var i = 0; i < touches.length; i += 1) {
|
||||
if (ongoingTouches.length == 0 && !touches[i].target.classList.contains("touchpad")) {
|
||||
if (ongoingTouches.length == 0 && !touches[i].target.classList.contains("touch")) {
|
||||
continue;
|
||||
}
|
||||
evt.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue