hypothetical/resources/assets/js/app.js

14 lines
374 B
JavaScript

// run once the document is ready
$(document).ready(function() {
$('footer').stickyFooter({ content: '#page-content' });
$(window).load(function() { $(this).trigger('resize'); });
switch (SiteVars.page) {
case '':
subscriptionFormInit();
break;
case 'contact':
contactFormInit();
break;
}
});