diff --git a/lib/js_of_ocaml/dom_html.ml b/lib/js_of_ocaml/dom_html.ml
index 59925e5ade..53c67b16dc 100644
--- a/lib/js_of_ocaml/dom_html.ml
+++ b/lib/js_of_ocaml/dom_html.ml
@@ -1293,26 +1293,25 @@ class type dListElement = element
class type liElement = element
-class type dialogElement =
- object
- inherit element
+class type dialogElement = object
+ inherit element
- method close : unit meth
+ method close : unit meth
- method close_returnValue : js_string t -> unit meth
+ method close_returnValue : js_string t -> unit meth
- method open_ : bool t prop
+ method open_ : bool t prop
- method returnValue : js_string t prop
+ method returnValue : js_string t prop
- method show : unit meth
+ method show : unit meth
- method showModal : unit meth
+ method showModal : unit meth
- method oncancel : ('self t, event t) event_listener prop
+ method oncancel : ('self t, event t) event_listener prop
- method onclose : ('self t, event t) event_listener prop
- end
+ method onclose : ('self t, event t) event_listener prop
+end
class type divElement = element
diff --git a/lib/js_of_ocaml/dom_html.mli b/lib/js_of_ocaml/dom_html.mli
index 59f4221ca9..ecb354d538 100644
--- a/lib/js_of_ocaml/dom_html.mli
+++ b/lib/js_of_ocaml/dom_html.mli
@@ -1114,26 +1114,25 @@ class type dListElement = element
class type liElement = element
-class type dialogElement =
- object
- inherit element
+class type dialogElement = object
+ inherit element
- method close : unit meth
+ method close : unit meth
- method close_returnValue : js_string t -> unit meth
+ method close_returnValue : js_string t -> unit meth
- method open_ : bool t prop
+ method open_ : bool t prop
- method returnValue : js_string t prop
+ method returnValue : js_string t prop
- method show : unit meth
+ method show : unit meth
- method showModal : unit meth
+ method showModal : unit meth
- method oncancel : ('self t, event t) event_listener prop
+ method oncancel : ('self t, event t) event_listener prop
- method onclose : ('self t, event t) event_listener prop
- end
+ method onclose : ('self t, event t) event_listener prop
+end
class type divElement = element