diff --git a/config/routes.rb b/config/routes.rb index 158e9ee..b7ffd77 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -21,6 +21,6 @@ get "monitors/lb" get "/login/new", to: "login#new" - get "/assets/campaign-form.js", to: redirect("campaign-form.mjs") - get "/packs/campaign.js", to: redirect("campaign-form.mjs") + get "/assets/campaign-form.js", to: redirect("campaign-form.js") + get "/packs/campaign.js", to: redirect("campaign-form.js") end diff --git a/public/campaign-form.mjs b/public/campaign-form.js similarity index 99% rename from public/campaign-form.mjs rename to public/campaign-form.js index 4786720..36506af 100644 --- a/public/campaign-form.mjs +++ b/public/campaign-form.js @@ -1,5 +1,3 @@ -import "jquery" - // Only initialize campaign-forms JS if it hasn't loaded previously. if (typeof window.campaignForms === 'undefined') {