From 9e3cceb55193b2e7e689b7afd8ba395b888eefeb Mon Sep 17 00:00:00 2001 From: evykassirer Date: Mon, 18 Nov 2024 16:59:01 -0800 Subject: [PATCH] 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. --- web/src/stream_settings_ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/stream_settings_ui.js b/web/src/stream_settings_ui.js index a4dc255170..7f94a0a1b2 100644 --- a/web/src/stream_settings_ui.js +++ b/web/src/stream_settings_ui.js @@ -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; } }