mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-01-19 06:07:59 +01:00
d9513b34d5
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).