Ver código fonte

* Preventdefault

michael 4 anos atrás
pai
commit
46c124ced6
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      demo/router/frmdemo.pp

+ 1 - 0
demo/router/frmdemo.pp

@@ -105,6 +105,7 @@ begin
   URL:=Copy(URL,P+1,Length(URL)-P);
   Writeln('URL :',URL);
   Router.Push(URL);
+  aEvent.preventDefault;
 end;
 
 end.