File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 11opam-version: "2.0"
22name: "ocsigen-toolkit"
3- version: "2.13.0 "
3+ version: "3.0.1 "
4455synopsis: "Reusable UI components for Eliom applications (client only, or client-server)"
66description: "The Ocsigen Toolkit is a set of user interface widgets that facilitate the development of Eliom applications."
Original file line number Diff line number Diff line change @@ -47,11 +47,7 @@ let%client display ?(container_a = [a_class ["ot-tip-container"]])
4747 @@ Js.Optdef. get Dom_html. window##.innerHeight
4848 @@ fun () -> Dom_html. document##.documentElement##.clientHeight
4949 in
50- let d_width =
51- float
52- @@ Js.Optdef. get Dom_html. window##.innerWidth
53- @@ fun () -> Dom_html. document##.documentElement##.clientWidth
54- in
50+ let d_width = float Dom_html. document##.documentElement##.clientWidth in
5551 let o_bounds = origin##getBoundingClientRect in
5652 let o_left = o_bounds##.left in
5753 let o_right = o_bounds##.right in
You can’t perform that action at this time.
0 commit comments