summaryrefslogtreecommitdiff
path: root/editor/popin.ml
diff options
context:
space:
mode:
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