From b8973ded85d376ac46b0b0898aaa7d87d50005bc Mon Sep 17 00:00:00 2001 From: Piotr Wysocki Date: Fri, 15 Apr 2022 15:30:33 +0200 Subject: [PATCH] ui box - div replaced by main --- src/ui/box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/box.js b/src/ui/box.js index 199f3f390..f97fb5a85 100644 --- a/src/ui/box.js +++ b/src/ui/box.js @@ -8,7 +8,7 @@ class ContainerManager { let container = window.document.getElementById(id); if (!container && shouldAppend) { - container = window.document.createElement('div'); + container = window.document.createElement('main'); container.id = id; container.className = 'auth0-lock-container'; window.document.body.appendChild(container);