ttrss/include
Michael Kuhn e74f7bde22 Refactor hotkeys to use keypress instead of keydown
keydown returns the "raw" key in event.which. Depending on the keyboard
layout, this may not be what is wanted. For example, on a German
keyboard, Shift+7 has to be pressed to get a slash. However, event.which
will be 55, which corresponds to "7". In the keypress event, however,
event.which will be 47, which corresponds to "/".

Sadly, several important keys (such as escape and the arrow keys) do not
trigger a keypress event. Therefore, they have to be handled using a
keydown event.

This change refactors the hotkey support to make use of keypress events
whenever possible. This will make hotkeys work regardless of the user's
keyboard layout. Escape and arrow keys are still handled via keydown
events.

There should be only one change in behavior: I could not make Ctrl+/
work and therefore rebound the help dialog to "?".
2019-03-11 12:01:27 +01:00
..
autoload.php autoloader: check if class name is namespaced before trying to split it 2018-07-18 13:25:18 +03:00
colors.php remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
controls.php add hotkey (a N) to toggle night.css 2018-12-09 21:17:50 +03:00
db-prefs.php remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
db.php remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
errorhandler.php remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
functions.php Refactor hotkeys to use keypress instead of keydown 2019-03-11 12:01:27 +01:00
login_form.php login: switch to absolute redirect urls 2019-03-04 20:38:39 +03:00
sanity_check.php login: switch to absolute redirect urls 2019-03-04 20:38:39 +03:00
sanity_config.php sanity config: fix typo 2018-11-22 22:15:27 +03:00
sessions.php fix session write handler always assuming that database entry exists and failing silently if it doesn't; remove session cookie-related hacks 2018-10-16 14:07:42 +03:00
version.php should be 19.2, duh 2019-02-22 06:46:43 +03:00