nodejs: do not check oform param in ie11

This commit is contained in:
Sergey Linnik
2023-02-28 17:40:37 +05:00
parent bdca343550
commit 251f48ee1e

View File

@ -232,7 +232,10 @@
config.events.onRequestSaveAs = onRequestSaveAs;
}
if (new URL(window.location).searchParams.get("oform") == "false") {
try {
var oformParam = new URL(window.location).searchParams.get("oform");
} catch (e) {}
if (oformParam == "false") {
config.document.options = config.document.options || {};
config.document.options["oform"] = false;
}