From b98af7f05df33c62cd444a3ee00f33ef4b0f2a24 Mon Sep 17 00:00:00 2001 From: Justin Baur <19896123+justindbaur@users.noreply.github.com> Date: Tue, 16 Jan 2024 09:39:52 -0500 Subject: [PATCH] Listen to Window Load (#7506) --- apps/web/src/connectors/sso.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/connectors/sso.ts b/apps/web/src/connectors/sso.ts index d51f14b33d..e049c64e5d 100644 --- a/apps/web/src/connectors/sso.ts +++ b/apps/web/src/connectors/sso.ts @@ -2,7 +2,7 @@ require("./sso.scss"); -document.addEventListener("DOMContentLoaded", () => { +window.addEventListener("load", () => { const code = getQsParam("code"); const state = getQsParam("state"); const lastpass = getQsParam("lp");