Skip to content

Commit

Permalink
oops clicks should be a mouseEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
duckpilot committed Jul 11, 2010
1 parent 36f440d commit dadbbf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/froc-dom/froc_dom.ml
Expand Up @@ -165,4 +165,4 @@ let keyEvent name (elem : #Dom.element) =
cleanup (fun () -> elem#removeEventListener_keyEvent_ name f false);
e

let clicks (elem : #Dom.element) = event "click" elem
let clicks (elem : #Dom.element) = mouseEvent "click" elem
2 changes: 1 addition & 1 deletion src/froc-dom/froc_dom.mli
Expand Up @@ -50,7 +50,7 @@ val attach_fontSize_b : #Dom.element -> string Froc.behavior -> unit
val appendChild : #Dom.node -> #Dom.node Froc.behavior -> unit
val replaceNode : #Dom.node -> #Dom.node Froc.behavior -> unit

val clicks : #Dom.element -> Dom.event Froc.event
val clicks : #Dom.element -> Dom.mouseEvent Froc.event

val event : string -> #Dom.element -> Dom.event Froc.event
val mouseEvent : string -> #Dom.element -> Dom.mouseEvent Froc.event
Expand Down

0 comments on commit dadbbf3

Please sign in to comment.