recent_topics: Focus on search box on t keypress.

This commit is contained in:
Aman Agrawal
2020-09-23 13:13:59 +05:30
committed by Tim Abbott
parent 8d398ddd54
commit 760e4fc1e7
5 changed files with 10 additions and 1 deletions

View File

@@ -600,6 +600,9 @@ exports.change_focused_element = function (e, input_key) {
// wraparound. Going off the top or the bottom takes one
// to the navigation at the top (see set_table_focus).
switch (input_key) {
case "open_recent_topics":
set_default_focus();
return true;
case "shift_tab":
case "vim_left":
case "left_arrow":