Fix recursion
This commit is contained in:
parent
7f6239e987
commit
e11306b1e2
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ var Parallax = {
|
||||||
},
|
},
|
||||||
createEvents: function() {
|
createEvents: function() {
|
||||||
$(window).scroll(function() { Parallax.calculate(); });
|
$(window).scroll(function() { Parallax.calculate(); });
|
||||||
$(window).resize(function() { Parallax.initialise(); })
|
$(window).resize(function() { Parallax.initialise(false); })
|
||||||
},
|
},
|
||||||
ident: '.parallax'
|
ident: '.parallax'
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue