aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2006-09-08 23:17:00 +0000
committerJohn Resig <jeresig@gmail.com>2006-09-08 23:17:00 +0000
commit698eafb58a9b046446115be7d8a9d4a6db7ececb (patch)
tree3ab428100a1a0d340ba5e081ffb4ebb3c035b15f /src
parente8db15b70f92a89091795347914a5299f8a1c8fd (diff)
downloadjquery-698eafb58a9b046446115be7d8a9d4a6db7ececb.tar.gz
jquery-698eafb58a9b046446115be7d8a9d4a6db7ececb.zip
Fixed issue with getAttribute not existing in IE.
Diffstat (limited to 'src')
-rw-r--r--src/jquery/jquery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index b6bffc7c9..d2141375e 100644
--- 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 {