Skip to main content

Bug Tracker

Side navigation

#2105 closed bug (fixed)

Opened January 02, 2008 07:04PM UTC

Closed January 14, 2008 07:17PM UTC

[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:
Description

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 (0.4 KB) - added by ieure January 02, 2008 07:05PM UTC.

    Patch which corrects the issue.

Change History (1)

Changed January 14, 2008 07:17PM UTC by john comment:1

resolution: → fixed
status: newclosed

Fixed in SVN rev [4444].