]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/5900'
authorTom Hughes <tom@compton.nu>
Sun, 6 Apr 2025 14:11:20 +0000 (15:11 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 6 Apr 2025 14:11:20 +0000 (15:11 +0100)
app/assets/javascripts/index.js

index be2a015b344d27a5faaf8db44d0359741d26b788..7ff8a40d1474905b9d706968e75c35b90b22149f 100644 (file)
@@ -278,9 +278,6 @@ $(function () {
       if (params.has("query")) {
         $("#sidebar .search_form input[name=query]").value(params.get("query"));
       }
-      if (!("autofocus" in document.createElement("input"))) {
-        $("#sidebar .search_form input[name=query]").focus();
-      }
       return map.getState();
     };