1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-01-19 06:07:59 +01:00
Cristiano Cortezia d9513b34d5 Fixes bad NaN applied to style on updateParallax.
The previous criteria "verticalSlideCount > 0" would result
in verticalOffset being NaN when verticalSlideCount == 1.

This would cause dom.background.style.backgroundPosition to
be set to something like "123px NaNpx", ultimately preventing
the parallax effect to play (silently failing so far).
2014-01-16 14:44:32 -02:00
..
2013-12-02 12:24:18 +01:00