Skip to content
Permalink
Browse files

Fixed typo from commit 542099a.

  • Loading branch information
jeresig committed Dec 11, 2009
1 parent 65ebf57 commit 5197ac9fc8aa71c2ebc0d7217f41a3679eb1b902
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/attributes.js
  2. +1 −1 src/event.js
@@ -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 );
},

0 comments on commit 5197ac9

Please sign in to comment.
You can’t perform that action at this time.