This repository was archived by the owner on Oct 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 41
41
42
42
var dataPropertyName = "virtualMouseBindings" ,
43
43
touchTargetPropertyName = "virtualTouchID" ,
44
- virtualEventNames = "vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel" . split ( " " ) ,
45
44
touchEventProps = "clientX clientY pageX pageY screenX screenY" . split ( " " ) ,
46
- mouseHookProps = $ . event . mouseHooks ? $ . event . mouseHooks . props : [ ] ,
47
- mouseEventProps = $ . event . props ? $ . event . props . concat ( mouseHookProps ) : mouseHookProps ,
45
+ virtualEventNames = "vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel" . split ( " " ) ,
46
+ generalProps = ( "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase " +
47
+ "metaKey relatedTarget shiftKey target timeStamp view which" ) . split ( " " ) ,
48
+ mouseEventProps = $ . event . props ? $ . event . props . concat ( generalProps ) : generalProps ,
48
49
activeDocHandlers = { } ,
49
50
resetTimerID = 0 ,
50
51
startX = 0 ,
@@ -83,8 +84,7 @@ function createVirtualEvent( event, eventType ) {
83
84
event . type = eventType ;
84
85
85
86
oe = event . originalEvent ;
86
- props = ( "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase " +
87
- "metaKey relatedTarget shiftKey target timeStamp view which" ) . split ( " " ) ;
87
+ props = generalProps ;
88
88
89
89
// addresses separation of $.event.props in to $.event.mouseHook.props and Issue 3280
90
90
// https://github.com/jquery/jquery-mobile/issues/3280
You can’t perform that action at this time.
0 commit comments