From d582a9563f80b3352b4259df881aad049d009c45 Mon Sep 17 00:00:00 2001 From: Mark Salsbery Date: Mon, 12 Jan 2015 12:26:38 -0800 Subject: [PATCH] capturePointer()/releasePointer() call fix for pointer event model --- src/mousetracker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mousetracker.js b/src/mousetracker.js index 86e23f70..d1722b16 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -2104,7 +2104,7 @@ if ( updatePointersDown( tracker, event, [ gPoint ], event.button ) ) { $.stopEvent( event ); - capturePointer( tracker, 'pointer' ); + capturePointer( tracker, gPoint.type ); } if ( tracker.clickHandler || tracker.dblClickHandler || tracker.pressHandler || tracker.dragHandler || tracker.dragEndHandler || tracker.pinchHandler ) { @@ -2154,7 +2154,7 @@ }; if ( updatePointersUp( tracker, event, [ gPoint ], event.button ) ) { - releasePointer( tracker, 'pointer' ); + releasePointer( tracker, gPoint.type ); } }