From 039a4e7f672e840c9bbf9f8b25b8268900d1bc07 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Fri, 6 Sep 2019 13:48:06 +0800 Subject: [PATCH] event --- public/react/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/react/src/App.js b/public/react/src/App.js index 520855519..00f07ecbc 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -335,7 +335,7 @@ class App extends Component { } } disableVideoContextMenu = () => { - window.$( "body" ).on( "mousedown", "video", function() { + window.$( "body" ).on( "mousedown", "video", function(event) { if(event.which === 3) { window.$('video').bind('contextmenu',function () { return false; }); } else {