Skip to content

Commit

Permalink
working scroll-wheel on "prev" and "next"
Browse files Browse the repository at this point in the history
  • Loading branch information
0xb0ba committed Oct 30, 2015
1 parent 0fbb9a6 commit add90f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/slideshowcontrols.js
Expand Up @@ -169,6 +169,9 @@
this.container.children('.exit').click(makeCallBack(this._exit));
this.container.children('.pause, .play').click(makeCallBack(this._playPauseToggle));
this.progressBar.click(makeCallBack(this._playPauseToggle));
this.container.children('.previous, .next, .menu, .name').on('mousewheel',function (evn){
this.container.children('.bigshotContainer')[0].dispatchEvent(new WheelEvent(evn.originalEvent.type,evn.originalEvent));
}.bind(this));
},

/**
Expand Down

0 comments on commit add90f0

Please sign in to comment.