Explorar o código

Merge branch 'DioxusLabs:master' into master

WIGGLES %!s(int64=3) %!d(string=hai) anos
pai
achega
cc379920fc
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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;
                         });
                         }