Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into topic_bank

topic_bank
杨树林 6 years ago
commit 988b9a6f0a

@ -346,7 +346,7 @@ class App extends Component {
} }
} }
disableVideoContextMenu = () => { disableVideoContextMenu = () => {
window.$( "body" ).on( "mousedown", "video", function() { window.$( "body" ).on( "mousedown", "video", function(event) {
if(event.which === 3) { if(event.which === 3) {
window.$('video').bind('contextmenu',function () { return false; }); window.$('video').bind('contextmenu',function () { return false; });
} else { } else {

Loading…
Cancel
Save