Skip to content

Commit

Permalink
fix: remove client-side feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber committed Aug 13, 2024
1 parent 884f963 commit ac5aaf4
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions site/runSiteFooterScripts.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { SiteFooterContext } from "@ourworldindata/utils"
import {
BAKED_BASE_URL,
FEATURE_FLAGS,
FeatureFlagFeature,
} from "../settings/clientSettings.js"
import { BAKED_BASE_URL } from "../settings/clientSettings.js"
import { hydrateProminentLink } from "./blocks/ProminentLink.js"
import { runCookiePreferencesManager } from "./CookiePreferencesManager.js"
import { hydrateDataPageV2Content } from "./DataPageV2Content.js"
Expand Down Expand Up @@ -53,15 +49,13 @@ export const runSiteFooterScripts = (
void runDetailsOnDemand()
break
case SiteFooterContext.multiDimDataPage:
if (FEATURE_FLAGS.has(FeatureFlagFeature.MultiDimDataPage)) {
hydrateMultiDimDataPageContent(isPreviewing)
runAllGraphersLoadedListener()
runLightbox()
runSiteNavigation(BAKED_BASE_URL, hideDonationFlag)
runSiteTools()
runCookiePreferencesManager()
void runDetailsOnDemand()
}
hydrateMultiDimDataPageContent(isPreviewing)
runAllGraphersLoadedListener()
runLightbox()
runSiteNavigation(BAKED_BASE_URL, hideDonationFlag)
runSiteTools()
runCookiePreferencesManager()
void runDetailsOnDemand()
break
case SiteFooterContext.grapherPage:
case SiteFooterContext.explorerPage:
Expand Down

0 comments on commit ac5aaf4

Please sign in to comment.