Opened 12 years ago
Closed 12 years ago
#7162 closed enhancement (invalid)
animate: un-needed code line
Reported by: | Taai | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.4.3 |
Component: | effects | Version: | 1.4.2 |
Keywords: | animate | Cc: | |
Blocked by: | Blocking: |
Description
It seems that there is an un-needed code line in jQuery 1.4.2 in line 5611.
1) + unit; isn't this un-needed ??? |
1) / e.cur(true)) * start; |
- self.style[ name ] = start + unit; because statement is set here again !!!
Note: See
TracTickets for help on using
tickets.
Umm, no. If you look at the middle line we're calling e.cur(true) which is getting us the computed value of the element for that property. After it's done we reset the display to the original value.