brouter-web/js/plugin
Henrik Fehlauer 36d8a207ab Convert all shortcuts to act on keydown already
Contrary to mouse clicks, when pressing keys on a keyboard the
standard behavior is to perform the associated action immediately,
not only when releasing the key again. This should also improve the
perceived performance slightly.

Note that the 'D' shortcut had formerly been handled by Leaflet, which
we now have to do on our own.

While at it, move the character codes over to the options variable, as
found in other parts of the codebase already.

Also removing the listener from the container does not seem needed
anymore nowadays.
2020-05-26 18:00:00 +00:00
..
Bing.js Add prettier and reformat code 2019-05-17 20:55:39 +02:00
Elevation.js Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
leaflet-distance-marker.js Improve distance markers a bit (#243) 2019-12-13 12:44:24 +01:00
leaflet-fullHash.js Exclude loaded tracks from URL hash 2020-06-03 20:24:17 +02:00
NogoAreas.js Fix nogo drawing for mobile Chrome, fixes #259 2020-06-05 20:11:36 +02:00
POIMarkers.js Convert all shortcuts to act on keydown already 2020-05-26 18:00:00 +00:00
Routing.js Convert all shortcuts to act on keydown already 2020-05-26 18:00:00 +00:00
RoutingPathQuality.js Make hotline contrast more pleasant 2020-05-23 18:00:00 +00:00
Search.js Upgrade leaflet geocoder to properly parse lat/lng 2019-06-16 19:04:18 +02:00
Sidebar.js Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
stravaSegments.js Add eslint 2019-11-03 14:29:26 +01:00
TracksLoader.js Set track color yellow for CyclOSM (#297) 2020-06-02 22:09:22 +02:00