That should have been a string, not a number
[jquery.git] / src / jquery / jquery.js
index 0f79216..30396ca 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