blob: 9b60b1f51a84dd85af87c486db28f238e0018964 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import initGroupsList from '~/groups';
import Landing from '~/groups/landing';
function exploreGroups() {
initGroupsList();
const landingElement = document.querySelector('.js-explore-groups-landing');
if (!landingElement) return;
const exploreGroupsLanding = new Landing(
landingElement,
landingElement.querySelector('.dismiss-button'),
'explore_groups_landing_dismissed',
);
exploreGroupsLanding.toggle();
}
exploreGroups();
|