diff options
| author | Andrew Dolgov <fox@bah.spb.su> | 2008-06-04 15:28:37 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.spb.su> | 2008-06-04 15:28:37 +0100 |
| commit | 9bbbc82c754859753115e7ae879c09b3ed647cad (patch) | |
| tree | 643c4ea54243dffb5445608d5a98d05f2bd8ab33 | |
| parent | ec37f4f112acbe917b7343fdc3a43b4d1bccd16e (diff) | |
new hotkey x: un/collapse if viewing category
| -rw-r--r-- | help/3.php | 1 | ||||
| -rw-r--r-- | tt-rss.js | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/help/3.php b/help/3.php index d24403cbc..76c87c0d0 100644 --- a/help/3.php +++ b/help/3.php @@ -45,6 +45,7 @@ <tr><td class='n'>f h</td><td><?php echo __("Hide visible read articles") ?></td></tr> <tr><td class='n'>q</td><td><?php echo __("Mark feed as read") ?></td></tr> <tr><td class='n'>Q</td><td><?php echo __("Mark all feeds as read") ?></td></tr> + <tr><td class='n'>x</td><td><?php echo __("If viewing category, (un)collapse it") ?></td></tr> </table> <h2><?php echo __("Go to...") ?></h2> @@ -1188,6 +1188,12 @@ function hotkey_handler(e) { } } } + + if (keycode == 88) { // x + if (activeFeedIsCat()) { + toggleCollapseCat(getActiveFeedId()); + } + } } /* Prefix f */ |