aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/scrollSnap.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/scrollSnap.js')
-rw-r--r--public/javascripts/scrollSnap.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/public/javascripts/scrollSnap.js b/public/javascripts/scrollSnap.js
index ed7bbb3..167f0c1 100644
--- a/public/javascripts/scrollSnap.js
+++ b/public/javascripts/scrollSnap.js
@@ -16,7 +16,6 @@ self._getScrollPosition = function () {
}
self._handleDoneScrolling = function () {
- console.log('done scrolling')
const scrollPosition = self._getScrollPosition()
const weekSelectorHeight = self._nodes.weekSelector.clientHeight - self._nodes.search.clientHeight
if (scrollPosition < weekSelectorHeight && scrollPosition > 0) {
@@ -30,7 +29,6 @@ self._handleScroll = function () {
const scrollPosition = self._getScrollPosition()
const weekSelectorHeight = self._nodes.weekSelector.clientHeight - self._nodes.search.clientHeight
- console.log(scrollPosition, weekSelectorHeight)
if (scrollPosition >= weekSelectorHeight) {
document.body.classList.add('week-selector-not-visible')
} else {