aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-12-13 22:29:35 -0500
committerDave Methvin <dave.methvin@gmail.com>2011-12-13 22:29:35 -0500
commit4534db196bf9475c79f74d6b62ebc866c27d06d9 (patch)
tree8c6559196cfb287ec199948043285fb7db52d312 /src/event.js
parent5798eab1240734e5d04a85acd628d007f4c93765 (diff)
downloadjquery-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.js2
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)$/,