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.

setup: Remove unused $.fn.within.

Anders Kaseorg4a3d66f7763d
diff --git a/static/js/setup.js b/static/js/setup.js
index 0119c0021b2..444ee2d7bb5 100644
--- a/static/js/setup.js
+++ b/static/js/setup.js
@@ -68,9 +68,5 @@ $(() => {
}
return this;
};
-
- $.fn.within = function (sel) {
- return $(this).is(sel) || $(this).closest(sel).length;
- };
}
});