new hotkey x: un/collapse if viewing category
This commit is contained in:
parent
ec37f4f112
commit
9bbbc82c75
2 changed files with 7 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue