Skip to content

Commit

Permalink
tiny little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Jan 12, 2012
1 parent 185ba4e commit 3b5fd44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/impress.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,13 +304,13 @@
if ( select(target) ) {
event.preventDefault();
}
});
}, false);

document.addEventListener("mousewheel", function( event ) {
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);
}, false);

var getElementFromUrl = function () {
// get id from url # by removing `#` or `#/` from the beginning,
Expand Down

0 comments on commit 3b5fd44

Please sign in to comment.