1
0
Fork 0
forked from OpenNeo/impress
impress/app/assets/javascripts/application.js
Matchu 7e73313d43 remove Go button from locale form on noscript
primarily because it's confusing for advanced search and looks like
the form's submit button - at least according to lavelle ;P
2014-04-02 22:15:15 -05:00

3 lines
129 B
JavaScript

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