e74f7bde22
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 "?". |
||
---|---|---|
api | ||
cache | ||
classes | ||
css | ||
feed-icons | ||
images | ||
include | ||
install | ||
js | ||
lib | ||
locale | ||
lock | ||
plugins | ||
plugins.local | ||
schema | ||
templates | ||
tests | ||
themes | ||
themes.local | ||
utils | ||
vendor | ||
.editorconfig | ||
.gitignore | ||
.gitlab-ci.yml | ||
CONTRIBUTING.md | ||
COPYING | ||
README.md | ||
atom-to-html.xsl | ||
backend.php | ||
config.php-dist | ||
errors.php | ||
index.php | ||
messages.pot | ||
opml.php | ||
prefs.php | ||
public.php | ||
register.php | ||
update.php | ||
update_daemon2.php |
README.md
Tiny Tiny RSS
Web-based news feed aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Copyright (c) 2005 Andrew Dolgov (unless explicitly stated otherwise).
Uses Silk icons by Mark James: http://www.famfamfam.com/lab/icons/silk/