widget playground: show widget with _avoidInitialFocus:true
This commit is contained in:
Родитель
e509e13d9a
Коммит
9bcd0d7a23
|
@ -13,7 +13,7 @@ html
|
|||
assetsUrl: '!{auth0_sdk_assets}',
|
||||
callbackOnLocationHash: !{callbackOnHash}
|
||||
});
|
||||
widget.signin({ container: 'root', chrome: true });
|
||||
widget.signin({ container: 'root', chrome: true, _avoidInitialFocus: true });
|
||||
} else {
|
||||
document.getElementById('root').innerHTML = 'Cannot load the widget at the moment, try again later.';
|
||||
}
|
|
@ -11,4 +11,4 @@ html
|
|||
assetsUrl: '!{auth0_sdk_assets}',
|
||||
callbackOnLocationHash: !{callbackOnHash}
|
||||
});
|
||||
widget.signin();
|
||||
widget.signin({_avoidInitialFocus: true});
|
Загрузка…
Ссылка в новой задаче