Browse Source

Merge branch 'DioxusLabs:master' into master

WIGGLES 3 years ago
parent
commit
cc379920fc
1 changed files with 0 additions and 2 deletions
  1. 0 2
      packages/desktop/src/lib.rs

+ 0 - 2
packages/desktop/src/lib.rs

@@ -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;
                         });
                         }