From 94ee9e98f9e18324450ca2ed0bb770d20ae043cd Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Thu, 24 Oct 2013 22:05:48 -0500 Subject: [PATCH] Mousewheel working --- dist/js/ionic.js | 2 +- js/views/scrollView.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/js/ionic.js b/dist/js/ionic.js index 1bbddafd76..b41a3e3b89 100644 --- a/dist/js/ionic.js +++ b/dist/js/ionic.js @@ -2582,7 +2582,7 @@ window.ionic = { if(newY > 0) { newY = 0; } else if (newY < -maxY) { - newY = maxY; + newY = -maxY; } this.scrollTo(0, newY, 0); diff --git a/js/views/scrollView.js b/js/views/scrollView.js index f68585072d..e5f4289663 100644 --- a/js/views/scrollView.js +++ b/js/views/scrollView.js @@ -99,7 +99,7 @@ if(newY > 0) { newY = 0; } else if (newY < -maxY) { - newY = maxY; + newY = -maxY; } this.scrollTo(0, newY, 0);