diff --git a/src/Gesto.ts b/src/Gesto.ts index 4e4ce25..ab1fc71 100644 --- a/src/Gesto.ts +++ b/src/Gesto.ts @@ -271,7 +271,7 @@ class Gesto extends EventEmitter { if (!this.flag && e.cancelable === false) { return; } - const isDragAPI = e.type.indexOf("drag") >= -1; + const isDragAPI = e.type.indexOf("drag") > -1; if (this.flag && isDragAPI) { return;