mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 19:26:38 -05:00
Use $(window).on("load" instead of $(window).load as this no longer exists in jquery 3
This commit is contained in:
parent
1f10f1a8ca
commit
073e9ddf4f
1 changed files with 1 additions and 1 deletions
|
@ -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 "":
|
||||
|
|
Loading…
Reference in a new issue