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.

features: Adjust table columns for Cloud default.

Karl Stolley43ee8b2ce100
diff --git a/web/src/portico/landing-page.js b/web/src/portico/landing-page.js
index 82b7dc343b6..c8a0f36b042 100644
--- a/web/src/portico/landing-page.js
+++ b/web/src/portico/landing-page.js
@@ -159,6 +159,12 @@ $(() => {
$(".features-col-group").attr("span", plans_columns_count);
$(".subheader-filler").attr("colspan", plans_columns_count);
}
+
+ if (window.location.pathname.endsWith("/features/")) {
+ // Default to Cloud and its three columns
+ $(".features-col-group").attr("span", 3);
+ $(".subheader-filler").attr("colspan", 3);
+ }
});
// Scroll to anchor link when clicked. Note that help.js has a similar