From 073e9ddf4f519cc7b61eddea8847ff72d13f5021 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 12 Oct 2016 21:34:31 -0400 Subject: [PATCH] Use $(window).on("load" instead of $(window).load as this no longer exists in jquery 3 --- resources/assets/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "":