Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2105 closed bug (fixed)

[PATCH] 1.2.2b2 curCSS() throws an error in IE

Reported by: ieure Owned by:
Priority: major Milestone: 1.2.2
Component: effects Version: 1.2.1
Keywords: ie, internet explorer Cc:
Blocked by: Blocking:


If you try to .show() an object which doesn’t have a .style member, IE 6 dies with this error:

'style' is null or not an object

The problem seems to be curCSS() accessing elem.style[name] without checking to see if elem.style exists. Attached patch corrects the problem for me.

Attachments (1)

curcss.patch (402 bytes) - added by ieure 15 years ago.
Patch which corrects the issue.

Download all attachments as: .zip

Change History (2)

Changed 15 years ago by ieure

Attachment: curcss.patch added

Patch which corrects the issue.

comment:1 Changed 15 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [4444].

Note: See TracTickets for help on using tickets.