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)
|
// (both of which we optimize for)
|
||||||
quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
|
quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
|
||||||
|
|
||||||
|
|
||||||
// Is it a simple selector
|
// Is it a simple selector
|
||||||
isSimple = /^.[^:#\[\.,]*$/,
|
isSimple = /^.[^:#\[\.,]*$/,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue