Created
January 4, 2019 00:34
-
-
Save salsalabs/e558e1d5695dd52ca1c21939b0acf603 to your computer and use it in GitHub Desktop.
Script to change the labels at the top of the email blast archive. Text is for a specific client. Feel free to change it as necessary after it's installed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- SalsaStaff 267704: BEGIN script to modify titles on the email blast archive. --> | |
<script type="text/javascript"> | |
document.addEventListener("DOMContentLoaded", function() { | |
if (window.location.href.indexOf("blastContent.jsp") != -1) { | |
document.querySelector('#selectBlastSpan').innerHTML = "View a past newsletter: "; | |
document.querySelector('a[href$="email/public/rss"]:nth-child(2)').innerHTML = "Subscribe to the APFED Newsletter feed."; | |
} | |
}) | |
</script> | |
<!-- SalsaStaff 267704: END script to modify titles on the email blast archive. --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment