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

Loading…
Cancel
Save