That should have been a string, not a number

This commit is contained in:
Brandon Aaron 2007-03-21 20:15:26 +00:00
parent 3728a8ac04
commit 26034c4a29

View 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