mirror of https://github.com/zulip/zulip.git
stream_settings_ui: Consistently return boolean from switch_rows.
This probably worked before because JQuery objects are truthy, but the one caller of this function seems to expect it to return boolean.
This commit is contained in:
parent
ffef153a14
commit
9e3cceb551
|
@ -872,7 +872,8 @@ export function switch_rows(event) {
|
|||
if ($("#search_stream_name").is(":focus")) {
|
||||
// remove focus from Filter streams input instead of switching rows
|
||||
// if Filter streams input is focused
|
||||
return $("#search_stream_name").trigger("blur");
|
||||
$("#search_stream_name").trigger("blur");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue