mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixed typo from commit 542099a278
.
This commit is contained in:
parent
65ebf57c1e
commit
638c093b85
@ -163,8 +163,8 @@ jQuery.fn.extend({
|
|||||||
|
|
||||||
jQuery.each({
|
jQuery.each({
|
||||||
removeAttr: function( name ) {
|
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 );
|
this.removeAttribute( name );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -680,7 +680,7 @@ function trigger( type, elem, args ) {
|
|||||||
if ( !jQuery.support.focusBubbles ) {
|
if ( !jQuery.support.focusBubbles ) {
|
||||||
|
|
||||||
jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ){
|
jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ){
|
||||||
event.special[ orig ] = {
|
jQuery.event.special[ orig ] = {
|
||||||
setup: function() {
|
setup: function() {
|
||||||
jQuery.event.add( this, fix, ieHandler );
|
jQuery.event.add( this, fix, ieHandler );
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user