mirror of
https://github.com/jquery/jquery.git
synced 2026-02-08 10:35:11 -05:00
Fix #10567. Make sure quickIs matches correct class name.
This commit is contained in:
@@ -16,7 +16,7 @@ var rnamespaces = /\.(.*)$/,
|
||||
// 0 1 2 3 4 5
|
||||
// [ _, tag, id, class, attrName, attrValue ]
|
||||
quick[1] = ( quick[1] || "" ).toLowerCase();
|
||||
quick[3] = quick[3] && new RegExp( "\\b" + quick[3] + "\\b" );
|
||||
quick[3] = quick[3] && new RegExp( "(?:^|\\w)" + quick[3] + "(?:\\w|$)" );
|
||||
}
|
||||
return quick;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user