Bug Tracker

Opened 14 years ago

Closed 14 years ago

#6069 closed bug (invalid)

Exception in IE when hide called

Reported by: djmason9 Owned by:
Priority: Milestone: 1.4.2
Component: effects Version: 1.4.1
Keywords: hide, null, Cc:
Blocked by: Blocking:

Description

There is an exception in the hide function when calling hide on a null object in IE Line:5331 in Version 1.4.1 While looping. I added a try block to fix this issue in my version but I would suggest this be part of the final build

Set the display of the elements in a second loop

to avoid the constant reflow

try{

for ( var i = 0, l = this.length; i < l; i++ ){

this[i].style.display = "none";

}

}catch(e){}

Change History (1)

comment:1 Changed 14 years ago by john

Resolution: invalid
Status: newclosed

What exactly is a "null object" in this case? Could you please re-open with a full test case? Thanks.

Note: See TracTickets for help on using tickets.