aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-07 15:19:29 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:22:43 +0100
commit56a215bb448870b48befd78668d7bb39e0530f51 (patch)
tree42eb0546b6126438511d05b1e3da41f377fe1b56 /lib
parent3ce21441d5116b69eb511f5dba70765ec6eccbd2 (diff)
Update input element
Diffstat (limited to 'lib')
-rwxr-xr-xlib/elements/input.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/elements/input.ml b/lib/elements/input.ml
index 8a082d8..62175d5 100755
--- a/lib/elements/input.ml
+++ b/lib/elements/input.ml
@@ -45,7 +45,7 @@ let file_loader
*)
let file_loader
- : Jstr.t -> file Note.event * Brr.El.t
+ : Jstr.t -> Brr.El.t * file Note.event
= fun selector ->
let add_file_event, add_file_sender = Note.E.create () in
@@ -66,5 +66,5 @@ let file_loader
Ev.change
(fun _e -> on_change (El.Input.files i)) (El.as_target i);
- ( add_file_event
- , i )
+ ( i
+ , add_file_event )