diff --git a/ui/controls.js b/ui/controls.js index db3f3222c0..a674614793 100644 --- a/ui/controls.js +++ b/ui/controls.js @@ -1192,7 +1192,7 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget { // The controls are hidden, so show them. this.onMouseMove_(event); // Stop this event from becoming a click event. - event.preventDefault(); + event.cancelable && event.preventDefault(); } }