mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
4321 jQuery('#') returns empty jquery object
This commit is contained in:
parent
037d6bd5c3
commit
5f52e61d74
@ -19,7 +19,6 @@ var jQuery = function( selector, context ) {
|
||||
// (both of which we optimize for)
|
||||
quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
|
||||
|
||||
|
||||
// Is it a simple selector
|
||||
isSimple = /^.[^:#\[\.,]*$/,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user