From d2ce96a1f34c84d9745b489129521054e3cdf6ea Mon Sep 17 00:00:00 2001 From: Bartek Szopka Date: Tue, 17 Jan 2012 22:08:45 +0100 Subject: [PATCH] removed mousewheel, sorry @OpenGrid, maybe it will be back as optional feature some day --- js/impress.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/impress.js b/js/impress.js index f817ecc47..b29c3fbe2 100644 --- a/js/impress.js +++ b/js/impress.js @@ -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