Fix #12149. Avoid memory leak on oldIE change events. Close gh-878.

This commit is contained in:
Nikita Govorov
2012-08-19 20:19:44 -04:00
committed by Dave Methvin
parent 9d07525a71
commit ff7b7cfd1d
3 changed files with 25 additions and 1 deletions

View File

@@ -832,7 +832,7 @@ if ( !jQuery.support.changeBubbles ) {
teardown: function() {
jQuery.event.remove( this, "._change" );
return rformElems.test( this.nodeName );
return !rformElems.test( this.nodeName );
}
};
}