Fixed issue with .remove() not working correctly.
This commit is contained in:
parent
f7efcc858d
commit
f404d2c395
1 changed files with 1 additions and 1 deletions
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -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 );
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue