X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=e26ae9e53d755425274af9612fd903aa3edd8d86;hb=f404d2c395626b3a09512b0b41da77fb7eb36260;hp=115ee7f2d70274f81f43ae81829dde825fe089c3;hpb=c0e4280282d03a449caaf87d5a6bfe151a874796;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 115ee7f..e26ae9e 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -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: { @@ -2549,7 +2549,7 @@ jQuery.macros = { * @cat DOM/Manipulation */ remove: function(a){ - if ( !a || jQuery.filter( [this], a ).r ) + if ( !a || jQuery.filter( a, [this] ).r ) this.parentNode.removeChild( this ); },