mirror of
https://github.com/jquery/jquery.git
synced 2026-02-09 13:04:56 -05:00
4321 returns empty jquery object
This commit is contained in:
@@ -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 = /^.[^:#\[\.,]*$/,
|
||||
|
||||
Reference in New Issue
Block a user