Closed tec closed 11 years ago
if pos[1] is 'top', positions[pos[1]] evaluates to zero, which is falsy. Then backgroundPositionY will be set to parseFloat("top") / 100 == NaN
Thanks for submitting this! This issue should be fixed in 0.2.0; your PR is still appreciated :-)
if pos[1] is 'top', positions[pos[1]] evaluates to zero, which is falsy. Then backgroundPositionY will be set to parseFloat("top") / 100 == NaN