From da76a723e14c037d59e830bb0d01b0b627286020 Mon Sep 17 00:00:00 2001 From: Ariel Flesler Date: Fri, 16 May 2008 16:41:12 +0000 Subject: [PATCH] jquery core: updating a comment, thanks to Scott for spotting it. --- src/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.js b/src/core.js index 511180a08..27cdbfe1f 100644 --- a/src/core.js +++ b/src/core.js @@ -774,7 +774,7 @@ jQuery.extend({ ""; }, - // internal only, use is(".class") + // internal only, use hasClass("class") has: function( elem, className ) { return jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1; }