Commit 5197ac9f authored by John Resig's avatar John Resig

Fixed typo from commit 542099a2.

parent 65ebf57c
......@@ -163,8 +163,8 @@ jQuery.fn.extend({
jQuery.each({
removeAttr: function( name ) {
jQuery.attr( this, name, "" );
if (this.nodeType == 1) {
if ( this.nodeType === 1 ) {
this[ jQuery.isXMLDoc( this ) ? name : jQuery.props[ name ] || name ] = null;
this.removeAttribute( name );
}
},
......
......@@ -680,7 +680,7 @@ function trigger( type, elem, args ) {
if ( !jQuery.support.focusBubbles ) {
jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ){
event.special[ orig ] = {
jQuery.event.special[ orig ] = {
setup: function() {
jQuery.event.add( this, fix, ieHandler );
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment