Skip to main content

Bug Tracker

Side navigation

#13645 closed bug (notabug)

Opened March 21, 2013 06:59PM UTC

Closed March 22, 2013 03:52AM UTC

jQuery animation sets senseless "NaNpx" value

Reported by: sebikeller@gmail.com 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 );
}
Attachments (0)
Change History (1)

Changed March 22, 2013 03:52AM UTC by mikesherov comment:1

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!