aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery/jquery.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2007-03-21 20:10:04 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2007-03-21 20:10:04 +0000
commit3728a8ac0494de7ccab48bfc69f5d71496ba64c2 (patch)
tree99c9889a48abace374ab376f7fc688e47cef8cec /src/jquery/jquery.js
parent36774226dd241ae104e10e8073a0586c50ae59ad (diff)
downloadjquery-3728a8ac0494de7ccab48bfc69f5d71496ba64c2.tar.gz
jquery-3728a8ac0494de7ccab48bfc69f5d71496ba64c2.zip
Fix for #1064 and added tests for setting/getting opacity
Diffstat (limited to 'src/jquery/jquery.js')
-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 0c00829f6..0f79216fe 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -1537,7 +1537,7 @@ jQuery.extend({
}
return elem.filter ?
- (parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100).toString() : "";
+ (parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100).toString() : 1;
}
// Certain attributes only work when accessed via the old DOM 0 way