Skip to main content

Bug Tracker

Side navigation

#1064 closed bug (fixed)

Opened March 21, 2007 03:38PM UTC

Closed March 21, 2007 08:16PM UTC

Last modified August 13, 2009 09:22AM UTC

css('opacity') returns empty string in IE

Reported by: arrix Owned by:
Priority: major Milestone: 1.1.3
Component: core Version: 1.1.2
Keywords: Cc:
Blocked by: Blocking:
Description

css('opacity') returns an empty string in IE. Shouldn't it return "1" (as it does in Firefox).

In jQuery.attr()

return elem.filter ? (parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100).toString() : "";
-->
return elem.filter ? (parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100).toString() : "1";

should fix it.

Attachments (0)
Change History (1)

Changed March 21, 2007 08:16PM UTC by brandon comment:1

resolution: → fixed
status: newclosed

Thanks Arrix.

This is now fixed in Rev: 1560.