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:
evykassirer 2024-11-18 16:59:01 -08:00 committed by Tim Abbott
parent ffef153a14
commit 9e3cceb551
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}