mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fix #10791. SVG clamors for special treatment of its class names.
This commit is contained in:
@@ -21,7 +21,7 @@ var rformElems = /^(?:textarea|input|select)$/i,
|
||||
return (
|
||||
(!m[1] || elem.nodeName.toLowerCase() === m[1]) &&
|
||||
(!m[2] || elem.id === m[2]) &&
|
||||
(!m[3] || m[3].test( elem.className ))
|
||||
(!m[3] || m[3].test( ((elem.attributes || {})[ "class" ] || {}).value ))
|
||||
);
|
||||
},
|
||||
hoverHack = function( events ) {
|
||||
|
||||
Reference in New Issue
Block a user