impress/app/assets/javascripts/application.js

4 lines
129 B
JavaScript
Raw Normal View History

document.getElementById('locale').addEventListener('change', function() {
document.getElementById('locale-form').submit();
});