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.

help: Fix help center loading scrolled down.

Aman Agrawal13f2e7b7beb5
diff --git a/web/src/portico/help.js b/web/src/portico/help.js
index 2b237ca18ab..1abe883aa51 100644
--- a/web/src/portico/help.js
+++ b/web/src/portico/help.js
@@ -122,7 +122,6 @@ $(".markdown").on("click", () => {
render_tabbed_sections();
if ($(window).width() > 800) {
- $(".highlighted")[0]?.scrollIntoView({block: "center"});
$(".highlighted").eq(0).trigger("focus");
$(".highlighted")
.eq(0)