Skip to content

Commit

Permalink
removed e parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
digilou committed Apr 12, 2017
1 parent 2bc30a0 commit e1dd03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 13 - Slide in on Scroll/index-FINISHED.html
Expand Up @@ -60,7 +60,7 @@ <h1>Slide in on Scroll</h1>

const sliderImages = document.querySelectorAll('.slide-in');

function checkSlide(e) {
function checkSlide() {
sliderImages.forEach(sliderImage => {
// half way through the image
const slideInAt = (window.scrollY + window.innerHeight) - sliderImage.height / 2;
Expand Down

0 comments on commit e1dd03b

Please sign in to comment.