aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/scrollSnap.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-21 12:02:34 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-21 12:02:34 +0100
commitf44e11585c191ba7664c53d393e7892ab1847324 (patch)
tree2084350ddbab7445056c83eafcacce11402c35e4 /public/javascripts/scrollSnap.js
parent7ec11ecfc447c66582e16d4e832cbfc089139e29 (diff)
removed console.log
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 {