diff --git a/js/calendar.js b/js/calendar.js index 59d5827e..53807ee2 100644 --- a/js/calendar.js +++ b/js/calendar.js @@ -4,6 +4,7 @@ $(function () { '#FF5252', '#E91E63', '#009688', '#00BCD4', '#4E342E', '#424242', '#9E9E9E' ]; + const days = new Map([ ["M", "Monday"], ["T", "Tuesday"], diff --git a/js/content.js b/js/content.js index fdd50368..38b2db65 100644 --- a/js/content.js +++ b/js/content.js @@ -101,7 +101,7 @@ $(function () { }); $(window).scroll(function () { - if ($(document).height() <= $(window).scrollTop() + $(window).height()) { + if ($(document).height() <= $(window).scrollTop() + $(window).height() + 100) { loadNextPages(); } });