Skip to content

Commit 02070fe

Browse files
ioigoumetvdijen
authored andcommitted
improve comment
1 parent 3e6cc74 commit 02070fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/post/post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ready(function () {
2626
// the SSO
2727
const btn = document.getElementById('postLoginSubmitButton');
2828
if (btn) {
29-
// Defer the click so the scheduling above is committed
29+
// Schedule the click on the next event loop turn so pending UI updates can render first
3030
setTimeout(function () { btn.click(); }, 0);
3131
}
3232
});

0 commit comments

Comments
 (0)