brouter-web/js
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 Prevent more accidental shortcut triggers 2020-05-28 18:00:00 +00:00
plugin Prevent more accidental shortcut triggers 2020-05-28 18:00:00 +00:00
router Fix Custom option not disabled when URL with profile 2019-11-29 15:45:31 +01:00
util Add sidebar tab with route analysis data 2020-06-07 16:56:50 +02:00
Browser.js Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
index.js Add sidebar tab with route analysis data 2020-06-07 16:56:50 +02:00
LayersConfig.js Fix "Layer not found: route-quality" error msg (ignore built-in layers) 2020-01-08 19:13:15 +01:00
Map.js Make privacy policy URL configurable (#284) 2020-05-28 10:54:08 +02:00
Util.js Prevent more accidental shortcut triggers 2020-05-28 18:00:00 +00:00