Skip to content

Commit

Permalink
Fixed touchaction test page
Browse files Browse the repository at this point in the history
  • Loading branch information
squadette committed Aug 24, 2019
1 parent fc79348 commit 1abf484
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hammer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Hammer.JS - v2.1.0-pre1 - 2019-08-24
/*! Hammer.JS - v2.1.0-pre1 - 2019-08-25
* http://hammerjs.github.io/
*
* Copyright (c) Jorik Tangelder;
Expand Down
2 changes: 1 addition & 1 deletion hammer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/manual/touchaction.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>touch-action: none</h2>
Hammer.each(touchActions, function(touchAction) {
var el = document.getElementById(touchAction.replace(" ", "-"));

var mc = Hammer(el, {
var mc = new Hammer(el, {
touchAction: touchAction
});
mc.get('pan').set({ direction: Hammer.DIRECTION_ALL });
Expand Down

0 comments on commit 1abf484

Please sign in to comment.