We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df7260 commit 8cd97dcCopy full SHA for 8cd97dc
CHANGES.md
@@ -1,3 +1,7 @@
1
+# Dev (2023-??-??) - ??
2
+
3
+* Runtime: fix Dom_html.onIE (#1493)
4
5
# 5.4.0 (2023-07-06) - Lille
6
7
## Bug fixes
runtime/jslib_js_of_ocaml.js
@@ -22,7 +22,8 @@
22
//Provides: caml_js_on_ie const
23
function caml_js_on_ie () {
24
var ua =
25
- globalThis.navigator?globalThis.navigator.userAgent:"";
+ (globalThis.navigator&&globalThis.navigator.userAgent)
26
+ ?globalThis.navigator.userAgent:"";
27
return ua.indexOf("MSIE") != -1 && ua.indexOf("Opera") != 0;
28
}
29
0 commit comments