Browse Source

Merge pull request #189 from marmelab/fix-sliders

Fix sliders delta initialization
pull/176/merge
Connor Sears 11 years ago
parent
commit
1f0f5fda6d
  1. 2
      lib/js/sliders.js

2
lib/js/sliders.js

@ -56,6 +56,8 @@
startTime = +new Date;
pageX = e.touches[0].pageX;
pageY = e.touches[0].pageY;
deltaX = 0;
deltaY = 0;
setSlideNumber(0);

Loading…
Cancel
Save