]> source.dussan.org Git - jquery.git/commit
Event: Normalize mouse event properties in drag events
authorAditya Raghavan <araghavan3@gmail.com>
Sat, 20 Dec 2014 23:41:24 +0000 (18:41 -0500)
committerDave Methvin <dave.methvin@gmail.com>
Mon, 5 Jan 2015 20:30:32 +0000 (15:30 -0500)
commit5b0b1b77dbc41c144959ef2fe8de603555beb39b
tree1fc5f80fbba9a9eed2fb3c1ee5d78d6c58a5a094
parenta0bf5bf710e98f86a49fc0c293232250f6c40ee1
Event: Normalize mouse event properties in drag events

DragEvent is a superset of MouseEvent, so we want to fix up mouse
properties like pageX and pageY.

Fixes gh-1925
(cherry picked from commit 389b2ab3b93bfd68ca6c6153a43e11d93ab9ec71)
src/event.js
test/unit/event.js