Rename class touchpad to touch

This commit is contained in:
Unrud 2022-02-03 14:51:33 +01:00
parent b3a4ca7449
commit 7fc46bf38c
3 changed files with 8 additions and 8 deletions

View file

@ -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();