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 1
1
opam-version: "2.0"
2
2
name: "ocsigen-toolkit"
3
- version: "2.13.0 "
3
+ version: "3.0.1 "
4
4
maintainer: "dev@ocsigen.org"
5
5
synopsis: "Reusable UI components for Eliom applications (client only, or client-server)"
6
6
description: "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"]])
47
47
@@ Js.Optdef. get Dom_html. window##.innerHeight
48
48
@@ fun () -> Dom_html. document##.documentElement##.clientHeight
49
49
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
55
51
let o_bounds = origin##getBoundingClientRect in
56
52
let o_left = o_bounds##.left in
57
53
let o_right = o_bounds##.right in
You can’t perform that action at this time.
0 commit comments