We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46efb5c commit c3b9bfaCopy full SHA for c3b9bfa
resources/js/post/post.js
@@ -26,7 +26,7 @@ ready(function () {
26
// the SSO
27
const btn = document.getElementById('postLoginSubmitButton');
28
if (btn) {
29
- // Defer the click so the scheduling above is committed
+ // Schedule the click on the next event loop turn so pending UI updates can render first
30
setTimeout(function () { btn.click(); }, 0);
31
}
32
});
0 commit comments