Skip to content

Commit

Permalink
preventDefault not required for mousehweel scroll?
Browse files Browse the repository at this point in the history
  • Loading branch information
CDrummond committed Aug 4, 2019
1 parent f95eeea commit eec8781
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion MaterialSkin/HTML/material/html/js/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ Vue.component('lms-toolbar', {
var elem = document.getElementById(id);
if (elem) {
elem.addEventListener('mousewheel', function(event) {
event.preventDefault();
if (event.wheelDeltaY<0) {
this.volumeDown();
} else if (event.wheelDeltaY>0) {
Expand Down

0 comments on commit eec8781

Please sign in to comment.