archive
/
simparallax
Archived
1
Fork 0

Fix recursion

This commit is contained in:
Jake Howard 2015-08-13 14:10:00 +01:00
parent 7f6239e987
commit e11306b1e2
1 changed files with 1 additions and 1 deletions

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'
}