diff options
author | justauser <[email protected]> | 2013-07-07 13:57:06 -0400 |
---|---|---|
committer | justauser <[email protected]> | 2013-07-07 13:57:06 -0400 |
commit | 3b96b0ed7cf8d960dd3ec2208ad8addb584bc1c9 (patch) | |
tree | d83db38f58511d5648b6bd665ab3760d74e73875 /js/tt-rss.js | |
parent | ef3a8db1cc83e02a9f8933869d19f299f2abe72a (diff) | |
parent | e4e9ac1fc288d6715f6419cd4c8a44386362ecf0 (diff) |
Merge branch 'master' into hookhead
Conflicts:
include/functions.php
changes for conflicts with master
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index a1d7d6411..46e282351 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -847,11 +847,16 @@ function hotkey_handler(e) { var keycode = false; var shift_key = false; + var ctrl_key = false; + var alt_key = false; + var meta_key = false; var cmdline = $('cmdline'); shift_key = e.shiftKey; ctrl_key = e.ctrlKey; + alt_key = e.altKey; + meta_key = e.metaKey; if (window.event) { keycode = window.event.keyCode; @@ -893,6 +898,8 @@ function hotkey_handler(e) { // ensure ^*char notation if (shift_key) hotkey = "*" + hotkey; if (ctrl_key) hotkey = "^" + hotkey; + if (alt_key) hotkey = "+" + hotkey; + if (meta_key) hotkey = "%" + hotkey; hotkey = hotkey_prefix ? hotkey_prefix + " " + hotkey : hotkey; hotkey_prefix = false; |