debug: console logs

This commit is contained in:
Harsh Khandeparkar 2020-06-29 11:55:51 +05:30 committed by GitHub
parent 2aebcce9eb
commit a9b70fbe50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,7 @@ const fadeDuration = 500;
const fadeDelay = 0;
$(document).on('scroll ready', () => {
console.log('ready or scroll')
$('.scroll-fade').each((i, elem) => {
const offset = $(elem).attr('data-fade-offset') || fadeOffset;
const duration = $(elem).attr('data-fade-duration') || fadeDuration;