Skip to content

Commit 779f64b

Browse files
committed
No drag, resize or gesture if maxInteraction === 0
1 parent e7a5e37 commit 779f64b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interact.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@
923923
}
924924
}
925925

926-
return true;
926+
return maxInteractions > 0;
927927
}
928928

929929
// Test for the element that's "above" all other qualifiers

0 commit comments

Comments
 (0)