diff --git a/resources/assets/javascripts/bootstrap/forms.js b/resources/assets/javascripts/bootstrap/forms.js index 90afae6ad9a70e41a61f5e777294a0ab85f02b94..8457aba0818d3bcfde836b32dcbd7460633e22d3 100644 --- a/resources/assets/javascripts/bootstrap/forms.js +++ b/resources/assets/javascripts/bootstrap/forms.js @@ -400,9 +400,7 @@ STUDIP.ready(function () { // and we trigger that namespaced event here, still all change handlers // will execute (which is bad due to $(select).change(form.submit())). $('select:not([multiple])').each(function() { - $(this) - .toggleClass('has-no-value', this.value === '') - .blur(); + $(this).toggleClass('has-no-value', this.value === ''); }); });