diff --git a/resources/assets/javascripts/bootstrap/application.js b/resources/assets/javascripts/bootstrap/application.js index f7fde4707007a59f2327864da8082ff86645a661..5dd746fdf8f3b05e5838a63c7cb9216e8afd6c0b 100644 --- a/resources/assets/javascripts/bootstrap/application.js +++ b/resources/assets/javascripts/bootstrap/application.js @@ -79,11 +79,6 @@ STUDIP.domReady(function () { STUDIP.study_area_selection.initialize(); - // autofocus for all browsers - if (!("autofocus" in document.createElement("input"))) { - jQuery('[autofocus]').first().focus(); - } - if (document.createElement('textarea').style.resize === undefined) { jQuery('textarea.resizable').resizable({ handles: 's',