In the latest update, the check for options.breakpoints fails if no options object is provided when initializing Rellax var rellax = new Rellax('.parallax');. This PR fixes this by checking for options && options.breakpoints.
You may need to minify it with your tool, couldn't find the option/script for minimizing. :)
Fixes #187
In the latest update, the check for
options.breakpoints
fails if no options object is provided when initializing Rellaxvar rellax = new Rellax('.parallax');
. This PR fixes this by checking foroptions && options.breakpoints
.You may need to minify it with your tool, couldn't find the option/script for minimizing. :)