Christoph Wiechert 4 years ago
parent
commit
ae28fcc12f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      react/features/remote-control/actions.js

+ 2
- 2
react/features/remote-control/actions.js View File

689
         area.mouseup(event => dispatch(mouseClicked(EVENTS.mouseup, event)));
689
         area.mouseup(event => dispatch(mouseClicked(EVENTS.mouseup, event)));
690
         area.dblclick(event => dispatch(mouseClicked(EVENTS.mousedblclick, event)));
690
         area.dblclick(event => dispatch(mouseClicked(EVENTS.mousedblclick, event)));
691
         area.contextmenu(() => false);
691
         area.contextmenu(() => false);
692
-        area[0].onmousewheel = event => {
692
+        area[0].onwheel = event => {
693
             event.preventDefault();
693
             event.preventDefault();
694
             event.stopPropagation();
694
             event.stopPropagation();
695
             dispatch(mouseScrolled(event));
695
             dispatch(mouseScrolled(event));
739
             area.off('mousedown');
739
             area.off('mousedown');
740
             area.off('mousemove');
740
             area.off('mousemove');
741
             area.off('mouseup');
741
             area.off('mouseup');
742
-            area[0].onmousewheel = undefined;
742
+            area[0].onwheel = undefined;
743
         }
743
         }
744
 
744
 
745
         $(window).off('keydown');
745
         $(window).off('keydown');

Loading…
Cancel
Save