Skip to content

Commit

Permalink
webui: replace document.ready with window.onload
Browse files Browse the repository at this point in the history
Ensure everything is loaded before we retrieve package update
information via Ajax.
  • Loading branch information
fbergkemper committed May 7, 2020
1 parent 2b897a6 commit e0c2a12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webui/module/Auth/view/auth/auth/login.phtml
Expand Up @@ -217,10 +217,9 @@ function getVersions() {
});

return v;

}

$(document).ready(function() {
$(window).on('load', function() {

var versions = getVersions();

Expand Down

0 comments on commit e0c2a12

Please sign in to comment.