brouter-web/js/control
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
..
Control.Layers.js Restore active layers (#205) 2019-06-18 09:14:08 +02:00
Export.js Add markers POI layer 2019-10-10 21:07:49 +02:00
Itinerary.js Add prettier and reformat code 2019-05-17 20:55:39 +02:00
Layers.js Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
LayersTab.js Fix "Layer not found: route-quality" error msg (ignore built-in layers) 2020-01-08 19:13:15 +01:00
Message.js Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
OpacitySlider.js Prevent more accidental shortcut triggers 2020-05-28 18:00:00 +00:00
OpacitySliderControl.js Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
Profile.js Fix: Profile params of type 'select' ignored default value from profile 2020-05-13 17:14:53 +02:00
RoutingOptions.js Fix Custom option not disabled when URL with profile 2019-11-29 15:45:31 +01:00
TrackAnalysis.js Show analysis table highlight above quality coding layer (#304) 2020-05-25 18:00:00 +00:00
TrackMessages.js Add sidebar tab with route analysis data 2020-06-07 16:56:50 +02:00
TrackStats.js Hide stats footer by default and collapse elevation chart if needed 2020-05-25 20:22:49 +02:00