aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery/jquery.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-03-24 02:44:41 +0000
committerJohn Resig <jeresig@gmail.com>2007-03-24 02:44:41 +0000
commite2b52e1e401af05a6fe3ca7bf9e714f973fc4d61 (patch)
tree4133ed04fd3d5ee7c93d63afe14e80452528ed3c /src/jquery/jquery.js
parent6d03f9290eb7b3f51b18413acdbd61d856749174 (diff)
downloadjquery-e2b52e1e401af05a6fe3ca7bf9e714f973fc4d61.tar.gz
jquery-e2b52e1e401af05a6fe3ca7bf9e714f973fc4d61.zip
Added support for comma-separated .is(), touched up the test cases. Resolves #977.
Diffstat (limited to 'src/jquery/jquery.js')
-rw-r--r--src/jquery/jquery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index cf9459d24..489522f63 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -1041,7 +1041,7 @@ jQuery.fn = jQuery.prototype = {
* @cat DOM/Traversing
*/
is: function(expr) {
- return expr ? jQuery.filter(expr,this).r.length > 0 : false;
+ return expr ? jQuery.multiFilter(expr,this).length > 0 : false;
},
/**