Skip to content
Browse files

support 1.6.4 to 1.7.0 by defaulting to just props where the mouseHoo…

…ks haven't been added
  • Loading branch information...
1 parent 286f8c3 commit f5c5c9a19ae70ae8ed49db92f265f5f9d762b143 @johnbender johnbender committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/jquery.mobile.vmouse.js
View
3 js/jquery.mobile.vmouse.js
@@ -23,7 +23,8 @@ var dataPropertyName = "virtualMouseBindings",
touchTargetPropertyName = "virtualTouchID",
virtualEventNames = "vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split( " " ),
touchEventProps = "clientX clientY pageX pageY screenX screenY".split( " " ),
- mouseEventProps = $.event.props.concat( $.event.mouseHooks.props ),
+ mouseHookProps = $.event.mouseHooks ? $.event.mouseHooks.props : [],
+ mouseEventProps = $.event.props.concat( mouseHookProps ),
activeDocHandlers = {},
resetTimerID = 0,
startX = 0,

0 comments on commit f5c5c9a

Please sign in to comment.
Something went wrong with that request. Please try again.