Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Commit

Permalink
Fix windows phone 10.0 pointer events (build)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvanghelue committed Feb 3, 2016
1 parent 29f90ac commit d275166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/iscroll.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! iScroll v5.1.3 ~ (c) 2008-2014 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.1.3 ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down Expand Up @@ -154,7 +154,7 @@ var utils = (function () {

me.extend(me.eventType = {}, {
touchstart: 1,
touchmove: 1,
touchmove: (window.navigator.userAgent && window.navigator.userAgent.indexOf('Windows Phone 10.0') > -1) ? 3 : 1,
touchend: 1,

mousedown: 2,
Expand Down

0 comments on commit d275166

Please sign in to comment.