Permalink
Browse files

Update the example

  • Loading branch information...
1 parent 9f9614c commit 0d3a76afd26c89425c7675b990b3b5f53cb5c2b0 Mihai Subtirelu committed Nov 30, 2016
Showing with 4 additions and 4 deletions.
  1. +2 −2 dist/SectionsContainer.js
  2. +2 −2 example/bundle.js
@@ -152,8 +152,8 @@ var SectionsContainer = function (_React$Component) {
}
}, {
key: '_handleMouseWheel',
- value: function _handleMouseWheel() {
- var e = window.event || e; // old IE support
+ value: function _handleMouseWheel(event) {
+ var e = window.event || event; // old IE support
var delta = Math.max(-1, Math.min(1, e.wheelDelta || -e.detail));
var activeSection = this.state.activeSection - delta;
View
@@ -21816,8 +21816,8 @@
}
}, {
key: '_handleMouseWheel',
- value: function _handleMouseWheel() {
- var e = window.event || e; // old IE support
+ value: function _handleMouseWheel(event) {
+ var e = window.event || event; // old IE support
var delta = Math.max(-1, Math.min(1, e.wheelDelta || -e.detail));
var activeSection = this.state.activeSection - delta;

0 comments on commit 0d3a76a

Please sign in to comment.