Skip to content

Commit 1abf484

Browse files
committed
Fixed touchaction test page
(hammerjs#1104)
1 parent fc79348 commit 1abf484

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hammer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Hammer.JS - v2.1.0-pre1 - 2019-08-24
1+
/*! Hammer.JS - v2.1.0-pre1 - 2019-08-25
22
* http://hammerjs.github.io/
33
*
44
* Copyright (c) Jorik Tangelder;

hammer.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/manual/touchaction.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ <h2>touch-action: none</h2>
7171
Hammer.each(touchActions, function(touchAction) {
7272
var el = document.getElementById(touchAction.replace(" ", "-"));
7373

74-
var mc = Hammer(el, {
74+
var mc = new Hammer(el, {
7575
touchAction: touchAction
7676
});
7777
mc.get('pan').set({ direction: Hammer.DIRECTION_ALL });

0 commit comments

Comments
 (0)