Removed alerts when right click on release.
@@ -189,12 +189,10 @@ pub fn launch_with_props<P: 'static + Send>(
r#"
if (document.addEventListener) {
document.addEventListener('contextmenu', function(e) {
- alert("You've tried to open context menu");
e.preventDefault();
}, false);
} else {
document.attachEvent('oncontextmenu', function() {
- alert("You've tried to open context menu");
window.event.returnValue = false;
});
}
