summaryrefslogtreecommitdiff
path: root/editor/popin.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-07 16:03:16 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:43:33 +0100
commit7c23b96ce5634550341b9554eda9d7c89a79e3c0 (patch)
treeda92baed0962717a882aa31e269243fba66ce0b3 /editor/popin.ml
parent896bfb14fa05cf07bb57216fdccd678e027bc4f9 (diff)
Update editor
Diffstat (limited to 'editor/popin.ml')
-rwxr-xr-xeditor/popin.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/popin.ml b/editor/popin.ml
index cd5154d..63dcad1 100755
--- a/editor/popin.ml
+++ b/editor/popin.ml
@@ -1,5 +1,5 @@
-open Js_of_ocaml
open Brr
+module Js = Js_of_ocaml.Js
module PM = Prosemirror
type binded_field =
@@ -44,10 +44,9 @@ let build_field
= fun field f ->
let button_content =
- [ El.i
+ [ El.i []
~at:At.[ class' (Jstr.v "fas")
; class' (Jstr.v "fa-pen") ]
- []
] in
let button = El.button