brouter-web/js/plugin
Henrik Fehlauer 08c8cfa8be Prevent more accidental shortcut triggers
Do not allow browser keyboard shortcuts to trigger route functions,
e.g. pressing Ctrl+P triggers printing in most browsers, but should not
at the same time switch BRouter-Web to POI mode. This can be prevented
by filtering for modifiers.

In the same fashion, when modal dialogs or dropdowns are open it should
not be possible to activate map functions in the background now.

Finally, inhibit shortcuts in number input fields too, as found in the
editable number input fields in the customize profile options.
Previously only regular text input fields were protected.

To make those checks easier to use, they are deduplicated and moved to
Util.js.
2020-05-28 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 Prevent more accidental shortcut triggers 2020-05-28 18:00:00 +00:00
Routing.js Prevent more accidental shortcut triggers 2020-05-28 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