@hlfan commented on this pull request.
> @@ -216,6 +216,8 @@ OSM.Directions = function (map) {
endpoints[0].enableListeners();
endpoints[1].enableListeners();
+
+ endpoints[0].focusInput();
Well then how about focusing only when reasonable?
```suggestion
if (!endpoints[0].value) endpoints[0].focusInput();
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6042#pullrequestreview-2864414567
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6042/review/2864414...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev