StephaneMlt (Talk | contribs) |
StephaneMlt (Talk | contribs) |
||
Line 270: | Line 270: | ||
var floatTransitionDelay = parseFloat(transitionDelay); // Return 0 if element or transition duration is not found | var floatTransitionDelay = parseFloat(transitionDelay); // Return 0 if element or transition duration is not found | ||
− | if (!floatTransitionDuration | + | if (!floatTransitionDuration) |
− | + | if(!floatTransitionDelay) { | |
return 0; | return 0; | ||
} // If multiple durations are defined, take the first | } // If multiple durations are defined, take the first |
Revision as of 20:37, 22 September 2019