new hotkey x: un/collapse if viewing category

master
Andrew Dolgov 17 years ago
parent ec37f4f112
commit 9bbbc82c75

@ -45,6 +45,7 @@
<tr><td class='n'>f h</td><td><?php echo __("Hide visible read articles") ?></td></tr> <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 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'>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> </table>
<h2><?php echo __("Go to...") ?></h2> <h2><?php echo __("Go to...") ?></h2>

@ -1188,6 +1188,12 @@ function hotkey_handler(e) {
} }
} }
} }
if (keycode == 88) { // x
if (activeFeedIsCat()) {
toggleCollapseCat(getActiveFeedId());
}
}
} }
/* Prefix f */ /* Prefix f */

Loading…
Cancel
Save