adding an email article hotkey 'e'

master
Chris Chernesky 14 years ago
parent 44cddbcedb
commit fe66e229d7

@ -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…
Cancel
Save