diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2011-12-13 22:29:35 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2011-12-13 22:29:35 -0500 |
commit | 4534db196bf9475c79f74d6b62ebc866c27d06d9 (patch) | |
tree | 8c6559196cfb287ec199948043285fb7db52d312 /src/event.js | |
parent | 5798eab1240734e5d04a85acd628d007f4c93765 (diff) | |
download | jquery-4534db196bf9475c79f74d6b62ebc866c27d06d9.tar.gz jquery-4534db196bf9475c79f74d6b62ebc866c27d06d9.zip |
Fix #11021. There should be no mangling of the "hover" namespace.
Diffstat (limited to 'src/event.js')
-rw-r--r-- | src/event.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js index 8385008b2..98822bdaf 100644 --- a/src/event.js +++ b/src/event.js @@ -2,7 +2,7 @@ var rformElems = /^(?:textarea|input|select)$/i, rtypenamespace = /^([^\.]*)?(?:\.(.+))?$/, - rhoverHack = /\bhover(\.\S+)?\b/, + rhoverHack = /(?:^|\s)hover(\.\S+)?\b/, rkeyEvent = /^key/, rmouseEvent = /^(?:mouse|contextmenu)|click/, rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, |