aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2007-03-21 20:15:26 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2007-03-21 20:15:26 +0000
commit26034c4a2985c18c6c702f1c609001f859e33654 (patch)
tree7ab93aa1e326d1b6bafcf46f08010bf693d7076a /src
parent3728a8ac0494de7ccab48bfc69f5d71496ba64c2 (diff)
downloadjquery-26034c4a2985c18c6c702f1c609001f859e33654.tar.gz
jquery-26034c4a2985c18c6c702f1c609001f859e33654.zip
That should have been a string, not a number
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 0f79216fe..30396cacc 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() : 1;
+ (parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100).toString() : "1";
}
// Certain attributes only work when accessed via the old DOM 0 way