Skip to content
Browse files

revert custom scrolling behavior

  • Loading branch information...
1 parent 97c335b commit ec40e143e521b17ee8bc978a70747485a3036189 @deanlandolt committed Mar 4, 2012
Showing with 0 additions and 14 deletions.
  1. +0 −14 apps/dialer/js/contacts.js
View
14 apps/dialer/js/contacts.js
@@ -480,18 +480,4 @@ window.addEventListener('load', function contactSetup(evt) {
Contacts.setup();
ShortcutsHandler.setup();
ContactDetails.setup();
-
- // add scrollwheel fallback for browser users
- var scrollNode = Contacts.view;
- scrollNode.addEventListener('DOMMouseScroll', wheel, false);
-
- function wheel(evt){
- var s;
- if (!evt) {
- s = -window.event.wheelDelta;
- } else {
- s = evt.detail;
- }
- scrollNode.scrollTop += 10 * ((s > 0) ? 1 : -1);
- }
});

0 comments on commit ec40e14

Please sign in to comment.
Something went wrong with that request. Please try again.