impress/app/javascript/application.js

6 lines
163 B
JavaScript
Raw Normal View History

import "@hotwired/turbo-rails";
document.getElementById("locale").addEventListener("change", function () {
document.getElementById("locale-form").submit();
});