Skip to content

Commit

Permalink
Replace load with on load
Browse files Browse the repository at this point in the history
  • Loading branch information
madalingorbanescu committed Mar 3, 2021
1 parent c8c86bc commit 6e2cd4d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/hero/js/metaboxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
}, 1000);
});

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

setTimeout(hero_toggleSlidesOptionsDisplay, 300 );
setTimeout(hero_featuredProjectsHelperIds, 300 );
Expand Down
19 changes: 16 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6e2cd4d

Please sign in to comment.