Use $(window).on("load" instead of $(window).load as this no longer exists in jquery 3

This commit is contained in:
Kevin MacMartin 2016-10-12 21:34:31 -04:00
parent 1f10f1a8ca
commit 073e9ddf4f

View file

@ -1,7 +1,7 @@
// run once the document is ready // run once the document is ready
$(document).ready(function() { $(document).ready(function() {
$("footer").stickyFooter({ content: "#page-content" }); $("footer").stickyFooter({ content: "#page-content" });
$(window).load(function() { $(this).trigger("resize"); }); $(window).on("load", function() { $(this).trigger("resize"); });
switch (SiteVars.page) { switch (SiteVars.page) {
case "": case "":