]> source.dussan.org Git - jquery.git/commitdiff
That should have been a string, not a number
authorBrandon Aaron <brandon.aaron@gmail.com>
Wed, 21 Mar 2007 20:15:26 +0000 (20:15 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Wed, 21 Mar 2007 20:15:26 +0000 (20:15 +0000)
src/jquery/jquery.js

index 0f79216fecf9a3aa0f8d71e09c30e6910644c260..30396caccf29f227e5315f6cd4682865d40a49d3 100644 (file)
@@ -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