Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Script to add a label to the Comment field in a Salsa Classic petition.
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function () {
var e = document.querySelector('input[name=action_KEY]')
if (e != null) {
var label = document.querySelector('label[for="Comment"]');
if (label != null) {
label.innerHTML = "Comment";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.