Skip to content

Commit

Permalink
style(scrollView): remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed May 5, 2014
1 parent 975b5fa commit 611525e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/views/scrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,10 +803,8 @@ ionic.views.Scroll = ionic.views.View.inherit({
}, 100, false);

//For Firefox
document.addEventListener('DOMMouseScroll', onMouseWheel);
document.addEventListener('mousewheel', onMouseWheel);
function onMouseWheel(e) {
console.log('wheel', e);
wheelShowBarFn();
self.scrollBy(e.wheelDeltaX/self.options.wheelDampen, -e.wheelDeltaY/self.options.wheelDampen);
wheelHideBarFn();
Expand Down

0 comments on commit 611525e

Please sign in to comment.