Skip to content

Commit

Permalink
target ele by class
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwoldatwork committed Dec 12, 2024
1 parent 962c0ac commit 90450de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/questions/_success_text.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
});

$("#form_success_text_heading").on("keyup", function(event) {
$(".fba-alert.usa-alert--success h2.usa-alert__heading").text(event.target.value)
$(".fba-alert.usa-alert--success .usa-alert__heading").text(event.target.value)
});

$("#form_success_text").on("keyup", function(event) {
Expand Down

0 comments on commit 90450de

Please sign in to comment.