hypothetical/resources/assets/js/app.js

11 lines
250 B
JavaScript

// run once the document is ready
$(document).ready(function() {
switch (SiteVars.page) {
case '':
subscriptionFormInit();
break;
case 'contact':
contactFormInit();
break;
}
});