Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed issue with .remove() not working correctly.

  • Loading branch information...
commit f404d2c395626b3a09512b0b41da77fb7eb36260 1 parent f7efcc8
John Resig jeresig authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/jquery/jquery.js
2  src/jquery/jquery.js
@@ -2549,7 +2549,7 @@ jQuery.macros = {
2549 2549 * @cat DOM/Manipulation
2550 2550 */
2551 2551 remove: function(a){
2552   - if ( !a || jQuery.filter( [this], a ).r )
  2552 + if ( !a || jQuery.filter( a, [this] ).r )
2553 2553 this.parentNode.removeChild( this );
2554 2554 },
2555 2555

0 comments on commit f404d2c

Please sign in to comment.
Something went wrong with that request. Please try again.