Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13645 closed bug (notabug)

jQuery animation sets senseless "NaNpx" value

Reported by: sebikeller@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

Description

if you use jQueryUI's animated addClass behaviour, some strange effects appear as setting a "NaNpx" value.

on line 9079:

    jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );

I would propose to add a check :

if ( !isNaN( value ) ) {
     jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
}

Change History (1)

comment:1 Changed 7 years ago by mikesherov

Resolution: notabug
Status: newclosed

Thanks for contributing! Please file bugs in jQueryUI against their bug tracker: http://bugs.jqueryui.com and please make sure to provide a valid test case!

Note: See TracTickets for help on using tickets.