We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6767dbc commit 8f1483bCopy full SHA for 8f1483b
jquery.js
@@ -23,7 +23,7 @@ var jQuery = window.jQuery = window.$ = function( selector, context ) {
23
// A simple way to check for HTML strings or ID strings
24
// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
25
// Strict HTML recognition (#11290: must start with <)
26
-quickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,
+var quickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,
27
28
// Is it a simple selector
29
isSimple = /^.[^:#\[\.]*$/,
0 commit comments