[Pkg-javascript-commits] [leaflet] 133/301: hopefully fix IE11/Win8.1 touch interaction, close #2102 (thanks @fnicollet)
Jonas Smedegaard
js at moszumanska.debian.org
Mon Jan 27 22:22:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet.
commit 9d28dbb360e94e28263b0bcdccccd9efd0ec2625
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date: Fri Oct 18 12:55:50 2013 +0300
hopefully fix IE11/Win8.1 touch interaction, close #2102 (thanks @fnicollet)
#2103 may be related too
---
src/dom/Draggable.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/dom/Draggable.js b/src/dom/Draggable.js
index 4597646..03304f1 100644
--- a/src/dom/Draggable.js
+++ b/src/dom/Draggable.js
@@ -10,11 +10,13 @@ L.Draggable = L.Class.extend({
END: {
mousedown: 'mouseup',
touchstart: 'touchend',
+ pointerdown: 'touchend',
MSPointerDown: 'touchend'
},
MOVE: {
mousedown: 'mousemove',
touchstart: 'touchmove',
+ pointerdown: 'touchmove',
MSPointerDown: 'touchmove'
}
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git
More information about the Pkg-javascript-commits
mailing list