mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
web: Convert .data("search-results-empty") to .attr.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
ebea1eed18
commit
153847d617
@@ -83,7 +83,7 @@ export function searching(): boolean {
|
||||
}
|
||||
|
||||
export function render_empty_user_list_message_if_needed($container: JQuery): void {
|
||||
const empty_list_message = $container.data("search-results-empty");
|
||||
const empty_list_message = $container.attr("data-search-results-empty");
|
||||
|
||||
if (!empty_list_message || $container.children().length) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user