git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65ebf57
)
Fixed typo from commit 542099a278e79dce38e814e7e7b448a1b73df82f.
author
John Resig
<jeresig@gmail.com>
Fri, 11 Dec 2009 20:47:41 +0000
(12:47 -0800)
committer
John Resig
<jeresig@gmail.com>
Fri, 11 Dec 2009 20:47:41 +0000
(12:47 -0800)
src/attributes.js
patch
|
blob
|
history
src/event.js
patch
|
blob
|
history
diff --git
a/src/attributes.js
b/src/attributes.js
index
9c868ee
..
0a60b0d
100644
(file)
--- a/
src/attributes.js
+++ b/
src/attributes.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 );
}
},
diff --git
a/src/event.js
b/src/event.js
index
26f414e
..
018d4d9
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-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 );
},