focus on page load

This commit is contained in:
Laura Klünder 2016-12-20 20:33:44 +01:00
parent a6f4b3c9b2
commit 3cd53d7bb5

View file

@ -30,8 +30,8 @@ c3nav = {
};
c3nav.init_typeahead($('.locationselect input:text'));
c3nav.locationselect_focus();
$('.locationselect:not(.selected) .locationselect-input .tt-input').first().focus();
$('.locationselect .icons .reset').click(c3nav._locationselect_reset);
$('#route-from-here').click(c3nav._click_route_from_here);
$('#route-to-here').click(c3nav._click_route_to_here);