Browse Source

fix onsubmit

Nicolas Cannasse 18 years ago
parent
commit
e34958514d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/Dom.hx

+ 1 - 1
std/js/Dom.hx

@@ -239,7 +239,7 @@ typedef Form = {> HtmlDom,
 	function submit() : Void;
 
 	var onreset : Event -> Void;
-	var onsubmit : Event -> Void;
+	var onsubmit : Event -> Bool;
 
 }