Permalink
Browse files

v1.2.0

Added touch support for ie10 surface tablets. When touching the slider,
horizontal browser movement is disabled and horizontal sliding is
enabled. Ref issue #230
  • Loading branch information...
1 parent 9ac05fd commit adb0b692ec625e5faff09f4f8ec0f24f368bb5f1 @marcwhitbread marcwhitbread committed Mar 23, 2013
Showing with 5 additions and 4 deletions.
  1. +3 −2 _src/jquery.iosslider.js
  2. +2 −2 _src/jquery.iosslider.min.js
View
@@ -6,7 +6,7 @@
*
* Copyright (c) 2012 Marc Whitbread
*
- * Version: v1.1.68 (03/20/2013)
+ * Version: v1.2.0 (03/23/2013)
* Minimum requirements: jQuery v1.4+
*
* Advanced requirements:
@@ -1170,6 +1170,7 @@
zIndex: settings.stageCSS.zIndex,
'webkitPerspective': 1000,
'webkitBackfaceVisibility': 'hidden',
+ '-ms-touch-action': 'pan-y',
width: stageWidth
});
@@ -1702,7 +1703,7 @@
}
$(touchSelection).bind('mousedown.iosSliderEvent touchstart.iosSliderEvent', function(e) {
-
+
if(touchStartFlag) return true;
touchStartFlag = true;
Oops, something went wrong.

0 comments on commit adb0b69

Please sign in to comment.