< All Topics

Hide "Edit Registration" Button

CSS:

.action-links > button:first-of-type {
  display: none; 
}

From Matthew Eaton at Princeton

JavaScript:

<script>
    document.addEventListener("DOMContentLoaded", function() {
        var buttons = document.querySelectorAll('button');
        buttons.forEach(function(button) {
            if (button.textContent.trim() === "Edit Registration") {
                button.style.display = "none";
            }
        });
    });
</script>

Created with assistance from ChatGPT