');
targetPath = '/flood-insurance/work-with-nfip/community-status-book/public-notification/communities-list';
if (window.location.pathname.endsWith(targetPath)) {
targetTable = jQuery('.field--name-field-data-table-csv .datatable').DataTable();
targetTable.order([0, 'desc']).draw();
}
targetPath = '/grants/preparedness/state-local-cybersecurity-grant-program/fy-24-nofo';
if (window.location.pathname.endsWith(targetPath)) {
targetHref = jQuery('#block-fema-uswds-mainpagecontent-2 > article > div.content-inner-container > div.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item > p:nth-child(1) > a');
targetHref.attr("href", "https://www.fema.gov/sites/default/files/documents/fema_fy2024_slcgp_nofo.pdf");
targetHref2 = jQuery('#block-fema-uswds-mainpagecontent-2 > article > div.content-inner-container > div.print__wrapper.print__wrapper--pdf > a');
targetHref2.attr("href", "https://www.fema.gov/sites/default/files/documents/fema_fy2024_slcgp_nofo.pdf");
}
targetPath = '/grants/preparedness/homeland-security/fy-24-nofo';
if (window.location.pathname.endsWith(targetPath)) {
targetHref = jQuery('#block-fema-uswds-mainpagecontent-2 > article > div.content-inner-container > div.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item > p:nth-child(1) > a');
targetHref.attr("href", "https://www.fema.gov/sites/default/files/documents/fema_fy2024_hsgp_nofo.pdf");
targetHref2 = jQuery('#block-fema-uswds-mainpagecontent-2 > article > div.content-inner-container > div.print__wrapper.print__wrapper--pdf > a');
targetHref2.attr("href", "https://www.fema.gov/sites/default/files/documents/fema_fy2024_hsgp_nofo.pdf");
}
});
Original linkOriginal author: Anonymous