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:
e8db15b
)
Fixed issue with getAttribute not existing in IE.
author
John Resig
<jeresig@gmail.com>
Fri, 8 Sep 2006 23:17:00 +0000
(23:17 +0000)
committer
John Resig
<jeresig@gmail.com>
Fri, 8 Sep 2006 23:17:00 +0000
(23:17 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
b6bffc7
..
d214137
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1746,7
+1746,7
@@
jQuery.extend({
if ( fix[name] ) {
if ( value != undefined ) elem[fix[name]] = value;
return elem[fix[name]];
- } else if ( elem.getAttribute ) {
+ } else if ( elem.getAttribute != undefined ) {
if ( value != undefined ) elem.setAttribute( name, value );
return elem.getAttribute( name, 2 );
} else {