Permalink
Browse files

Update js/jquery.Jcrop.js

fix iOS problem... #35
  • Loading branch information...
1 parent d8d0ed8 commit 3af28c141e40b98b07f3169bfff07b83a6f16c21 Gladhon committed Dec 27, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 js/jquery.Jcrop.js
View
@@ -1157,6 +1157,13 @@
//}}}
function trackMove(e) //{{{
{
+ //init 4 ios...
+ var i;
+ i = e.originalEvent.changedTouches[0].clientX;
+ i = e.originalEvent.changedTouches[0].clientY;
+ i = e.originalEvent.changedTouches[0].pageX;
+ i = e.originalEvent.changedTouches[0].pageY;
+
onMove(mouseAbs(e));
return false;
}

0 comments on commit 3af28c1

Please sign in to comment.