mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
recent_topics: Make it the default view.
Go to Recent Topics on "#", no hash and "#recent_topics". Go to Recent Topics as the last destination for escape key. Map `a` key to All messages and change its hash to `#all_messages`.
This commit is contained in:
@@ -503,13 +503,6 @@ exports.change_focused_element = function (e, input_key) {
|
||||
// handle the key.
|
||||
const $elem = $(e.target);
|
||||
|
||||
if ($("#recent_topics_table").find(":focus").length === 0) {
|
||||
// This is a failsafe to return focus back to recent topics overlay,
|
||||
// in case it loses focus due to some unknown reason.
|
||||
set_default_focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (e.target.id === "recent_topics_search") {
|
||||
// Since the search box a text area, we want the browser to handle
|
||||
// Left/Right and selection within the widget; but if the user
|
||||
|
||||
Reference in New Issue
Block a user