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: Activate sidebar scrollbar when hamburger is clicked.

Eeshan Garg72fba69c0214
diff --git a/static/js/portico/help.js b/static/js/portico/help.js
index fb7575e27db..d3053a5c6f9 100644
--- a/static/js/portico/help.js
+++ b/static/js/portico/help.js
@@ -158,6 +158,8 @@ $(document).on(
$(".hamburger").on("click", () => {
$(".sidebar").toggleClass("show");
+ $(".sidebar .simplebar-content-wrapper").css("overflow", "hidden scroll");
+ $(".sidebar .simplebar-vertical").css("visibility", "visible");
});
$(".markdown").on("click", () => {