adding an email article hotkey 'e'
This commit is contained in:
parent
44cddbcedb
commit
fe66e229d7
2 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
<tr><td class='n'>o</td><td><?php echo __("Open article in new window") ?></td></tr>
|
||||
<tr><td class='n'>c n/c p</td><td><?php echo __("Mark articles below/above active one as read") ?></td></tr>
|
||||
<tr><td class='n'>N/P</td><td><?php echo __("Scroll article content") ?></td></tr>
|
||||
<tr><td class='n'>e</td><td><?php echo __("Email article") ?></td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
|
|
@ -680,6 +680,11 @@ function hotkey_handler(e) {
|
|||
|
||||
if (!hotkey_prefix) {
|
||||
|
||||
if (keycode == 69) { // e
|
||||
var id = getActiveArticleId();
|
||||
emailArticle(id);
|
||||
}
|
||||
|
||||
if ((keycode == 191 || keychar == '?') && shift_key) { // ?
|
||||
if (!Element.visible("hotkey_help_overlay")) {
|
||||
Effect.Appear("hotkey_help_overlay", {duration : 0.3});
|
||||
|
|
Loading…
Reference in a new issue