We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371f256 commit 640e576Copy full SHA for 640e576
js/common.js
@@ -36,12 +36,12 @@ mc.get('pan').set({ direction: Hammer.DIRECTION_ALL });
36
// console.log(ev.type +" gesture detected.");
37
// });
38
39
-mc.on("panleft", function(ev) {
+mc.on("swipeleft", function(ev) {
40
++now;
41
if (now > slidesNum - 1) now = 0;
42
slider.style.left = sliderOffsetWidth[now];
43
});
44
-mc.on("panright", function(ev) {
+mc.on("swiperight", function(ev) {
45
--now;
46
if (now < 0) now = slidesNum - 1;
47
0 commit comments