summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAlex Yatskov <FooSoft@users.noreply.github.com>2019-08-17 09:04:23 -0700
committerGitHub <noreply@github.com>2019-08-17 09:04:23 -0700
commit1d25c8a744837b02b5d4364d93df65dd4d0b7ed6 (patch)
tree74b3070dc527627e1e6f33507a45532d81c711d3 /ext
parent778d1d6e79c4cc73262d6af05aa4219c19df10d1 (diff)
parent70e9f4922b1fa99cbb271181fedb661be3da01c4 (diff)
Merge pull request #175 from toasted-nutbread/touch-move-warning-fix
Don't process touchmove events if they can't be canceled
Diffstat (limited to 'ext')
-rw-r--r--ext/fg/js/frontend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index bd652f3b..97849a09 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -192,7 +192,7 @@ class Frontend {
}
onTouchMove(e) {
- if (!this.scrollPrevent || this.primaryTouchIdentifier === null) {
+ if (!this.scrollPrevent || !e.cancelable || this.primaryTouchIdentifier === null) {
return;
}