mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 01:25:10 -05:00
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
This commit is contained in:
committed by
Dave Methvin
parent
66e1b6b8d4
commit
97cf528082
@@ -14,7 +14,7 @@ define([
|
||||
|
||||
var
|
||||
rkeyEvent = /^key/,
|
||||
rmouseEvent = /^(?:mouse|pointer|contextmenu)|click/,
|
||||
rmouseEvent = /^(?:mouse|pointer|contextmenu|drag)|click/,
|
||||
rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
|
||||
rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user