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 +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ var dataPropertyName = "virtualMouseBindings",
44
44
virtualEventNames = "vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel" . split ( " " ) ,
45
45
touchEventProps = "clientX clientY pageX pageY screenX screenY" . split ( " " ) ,
46
46
mouseHookProps = $ . event . mouseHooks ? $ . event . mouseHooks . props : [ ] ,
47
- mouseEventProps = $ . event . props . concat ( mouseHookProps ) ,
47
+ mouseEventProps = $ . event . props ? $ . event . props . concat ( mouseHookProps ) : mouseHookProps ,
48
48
activeDocHandlers = { } ,
49
49
resetTimerID = 0 ,
50
50
startX = 0 ,
@@ -83,7 +83,8 @@ function createVirtualEvent( event, eventType ) {
83
83
event . type = eventType ;
84
84
85
85
oe = event . originalEvent ;
86
- props = $ . event . props ;
86
+ props = ( "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase " +
87
+ "metaKey relatedTarget shiftKey target timeStamp view which" ) . split ( " " ) ;
87
88
88
89
// addresses separation of $.event.props in to $.event.mouseHook.props and Issue 3280
89
90
// https://github.com/jquery/jquery-mobile/issues/3280
You can’t perform that action at this time.
0 commit comments