Merge branch 'master' of github.com:jquery/jquery-ui

This commit is contained in:
Scott González 2010-07-09 09:02:03 -04:00
commit ca42e114c3

View File

@ -15,7 +15,7 @@ $.fn.remove = function( selector, keepData ) {
return this.each(function() {
if ( !keepData ) {
if ( !selector || $.filter( selector, [ this ] ).length ) {
$( "*", this ).add( this ).each(function() {
$( "*", this ).add( [ this ] ).each(function() {
$( this ).triggerHandler( "remove" );
});
}