summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--help/3.php1
-rw-r--r--tt-rss.js6
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>
diff --git a/tt-rss.js b/tt-rss.js
index 2373826f7..d917b6dc7 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -1188,6 +1188,12 @@ function hotkey_handler(e) {
}
}
}
+
+ if (keycode == 88) { // x
+ if (activeFeedIsCat()) {
+ toggleCollapseCat(getActiveFeedId());
+ }
+ }
}
/* Prefix f */