Fixed issue with .children().
authorJohn Resig <jeresig@gmail.com>
Thu, 31 Aug 2006 03:59:51 +0000 (03:59 +0000)
committerJohn Resig <jeresig@gmail.com>
Thu, 31 Aug 2006 03:59:51 +0000 (03:59 +0000)
src/jquery/jquery.js

index 115ee7f..0a21af7 100644 (file)
@@ -2383,7 +2383,7 @@ jQuery.macros = {
                 * @param String expr An expression to filter the child Elements with
                 * @cat DOM/Traversing
                 */
-               children: "a.childNodes"
+               children: "jQuery.sibling(a.firstChild)"
        },
 
        each: {