diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index f339a57..6a7d52a 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -1,7 +1,7 @@ // run once the document is ready $(document).ready(function() { $("footer").stickyFooter({ content: "#page-content" }); - $(window).load(function() { $(this).trigger("resize"); }); + $(window).on("load", function() { $(this).trigger("resize"); }); switch (SiteVars.page) { case "":