4321 returns empty jquery object
This commit is contained in:
parent
eed3803c98
commit
037d6bd5c3
2 changed files with 4 additions and 2 deletions
|
@ -17,7 +17,8 @@ var jQuery = function( selector, context ) {
|
|||
|
||||
// A simple way to check for HTML strings or ID strings
|
||||
// (both of which we optimize for)
|
||||
quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,
|
||||
quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
|
||||
|
||||
|
||||
// Is it a simple selector
|
||||
isSimple = /^.[^:#\[\.,]*$/,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue