Skip to content

Commit

Permalink
removed mousewheel, sorry @OpenGrid, maybe it will be back as optiona…
Browse files Browse the repository at this point in the history
…l feature some day
  • Loading branch information
bartaz committed Jan 17, 2012
1 parent 6ada2ac commit d2ce96a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions js/impress.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,6 @@
}
}, false);

document.addEventListener("mousewheel", function ( event ) {
next = steps.indexOf( active ) - event.wheelDelta / Math.abs(event.wheelDelta);
next = next >= 0 ? steps[ next ] : steps[ steps.length-1 ];
select(next);
}, false);

var getElementFromUrl = function () {
// get id from url # by removing `#` or `#/` from the beginning,
// so both "fallback" `#slide-id` and "enhanced" `#/slide-id` will work
Expand Down

0 comments on commit d2ce96a

Please sign in to comment.