diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index f2e9c1816..7b891ea34 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1401,7 +1401,7 @@ jQuery.extend({ image: "a.type=='image'", reset: "a.type=='reset'", button: "a.type=='button'", - input: "a.nodeName.toLowerCase().match(/input|select|textarea|button/)" + input: "/input|select|textarea|button/i.test(a.nodeName)" }, ".": "jQuery.className.has(a,m[2])", "@": {