Bug Tracker

Modify

Ticket #6069 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by john

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.