mirror of
https://github.com/jquery/jquery.git
synced 2026-02-19 09:24:23 -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 (cherry picked from commit 389b2ab3b93bfd68ca6c6153a43e11d93ab9ec71)
This commit is contained in:
committed by
Dave Methvin
parent
a0bf5bf710
commit
5b0b1b77db
@@ -12,7 +12,7 @@ define([
|
||||
|
||||
var rformElems = /^(?:input|select|textarea)$/i,
|
||||
rkeyEvent = /^key/,
|
||||
rmouseEvent = /^(?:mouse|pointer|contextmenu)|click/,
|
||||
rmouseEvent = /^(?:mouse|pointer|contextmenu|drag)|click/,
|
||||
rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
|
||||
rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user