Skip to content

Commit

Permalink
Change const to var to avoid "redefined" errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Mar 19, 2024
1 parent ebf95cb commit d5c2e0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ $(document).on("turbolinks:load", () => {
registerFeedbackBodyValidator();
});

const SUBMIT_FEEDBACK_ID = "#submit-feedback";
var SUBMIT_FEEDBACK_ID = "#submit-feedback";

const TOAST_OPTIONS = {
var TOAST_OPTIONS = {
animation: true,
autohide: true,
delay: 6000, // autohide after ... milliseconds
Expand Down

0 comments on commit d5c2e0c

Please sign in to comment.