Opened 10 years ago
Closed 10 years ago
#13645 closed bug (notabug)
jQuery animation sets senseless "NaNpx" value
Reported by: | 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 ); }
Note: See
TracTickets for help on using
tickets.
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!