Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

zjquery: Return this from fadeTo.

Anders Kaseorg4d07c49515f4
diff --git a/web/tests/lib/zjquery_element.cjs b/web/tests/lib/zjquery_element.cjs
index 2cd9e09c3fc..10999f6adf3 100644
--- a/web/tests/lib/zjquery_element.cjs
+++ b/web/tests/lib/zjquery_element.cjs
@@ -59,7 +59,9 @@ function FakeElement(selector, opts) {
// silently do nothing
return this;
},
- fadeTo: noop,
+ fadeTo() {
+ return this;
+ },
find(child_selector) {
const $child = find_results.get(child_selector);
if ($child) {