features: Adjust table columns for Cloud default.

This commit is contained in:
Karl Stolley 2024-02-12 16:07:54 -06:00 committed by Tim Abbott
parent 04b94f6ad5
commit 43ee8b2ce1
1 changed files with 6 additions and 0 deletions

View File

@ -159,6 +159,12 @@ $(() => {
$(".features-col-group").attr("span", plans_columns_count); $(".features-col-group").attr("span", plans_columns_count);
$(".subheader-filler").attr("colspan", 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 // Scroll to anchor link when clicked. Note that help.js has a similar