Commit a2d28858 authored by jblemee's avatar jblemee

fix: Use DOMContentLoaded instead of WebComponentReady since it's ES6 module

parent d29cf792
......@@ -57,7 +57,7 @@ sib.oidc._getUser = function() {
sib.oidc._connect = function(settings) {
sib.oidc._setup(settings);
sib.oidc._getUser();
window.addEventListener('WebComponentsReady', () => sib.oidc._getUser());
window.addEventListener('DOMContentLoaded', () => sib.oidc._getUser());
// When user loaded...
sib.oidc._manager.events.addUserLoaded(function(user) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment