nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 13 lines 805 B view raw
1diff --git a/web_ui/element_size_hooks/visibility_tracker.ml b/web_ui/element_size_hooks/visibility_tracker.ml 2index 2e5dbe0..61df433 100644 3--- a/web_ui/element_size_hooks/visibility_tracker.ml 4+++ b/web_ui/element_size_hooks/visibility_tracker.ml 5@@ -23,8 +23,6 @@ let get_conservative_vis_bounds (element : Dom_html.element Js.t) : Bounds.t opt 6 and client_height = client_bounds##.height 7 and window_height = Dom_html.window##.innerHeight 8 and window_width = Dom_html.window##.innerWidth in 9- let%bind.Option window_height = Js.Optdef.to_option window_height in 10- let%bind.Option window_width = Js.Optdef.to_option window_width in 11 let window_height = Float.of_int window_height 12 and window_width = Float.of_int window_width 13 and client_width = Js.Optdef.get client_width (Fn.const 0.0)