UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

9 lines (8 loc) 357 B
import r from "../../managers/braze-instance.js"; import { destroyContentCardsHtml as nn } from "../../common/content-cards-display.js"; export function hideContentCards(n) { if (!r.rr()) return; const o = document.querySelectorAll(".ab-feed"); for (let t = 0; t < o.length; t++) (null == n || (null != n && o[t].parentNode === n)) && nn(o[t]); }