Skip to content

Commit

Permalink
console loogs
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Dec 17, 2015
1 parent 3efb33d commit 920db1c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/angular/controller/refresherController.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ IonicModule
// if we've dragged up and back down in to native scroll territory
if (deltaY - dragOffset <= 0 || scrollParent.scrollTop !== 0) {

console.log('NOT PULLING', deltaY, dragOffset, scrollParent.scrollTop);

if (isOverscrolling) {
isOverscrolling = false;
setScrollLock(false);
Expand All @@ -122,7 +120,6 @@ IonicModule
return;

} else if (deltaY > 0 && scrollParent.scrollTop === 0 && !isOverscrolling) {
console.log('PULLING', deltaY, dragOffset, scrollParent.scrollTop, isOverscrolling);
// starting overscroll, but drag started below scrollTop 0, so we need to offset the position
dragOffset = deltaY;
}
Expand Down

0 comments on commit 920db1c

Please sign in to comment.