diff --git a/dialog.js b/dialog.js index 3385dab..3ff186b 100644 --- a/dialog.js +++ b/dialog.js @@ -1,5 +1,7 @@ if (!window.HTMLDialogElement) { + window.HTMLDialogElement = HTMLUnknownElement; + const proto = HTMLUnknownElement.prototype; let activeDialog = null;