mirror of https://github.com/zulip/zulip.git
features: Adjust table columns for Cloud default.
This commit is contained in:
parent
04b94f6ad5
commit
43ee8b2ce1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue