Fix recursion

This commit is contained in:
Jake Howard 2015-08-13 14:10:00 +01:00
parent 7f6239e987
commit e11306b1e2

View file

@ -26,7 +26,7 @@ var Parallax = {
},
createEvents: function() {
$(window).scroll(function() { Parallax.calculate(); });
$(window).resize(function() { Parallax.initialise(); })
$(window).resize(function() { Parallax.initialise(false); })
},
ident: '.parallax'
}