UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

8 lines (7 loc) 293 B
import { removeSubscription } from "../../Core/remove-subscription.js"; import { BannerStrings as j } from "../constants.js"; export function destroyBannerHtml(o) { const r = o.getAttribute(j.ea); null != r && removeSubscription(r), o && o.parentNode && o.parentNode.removeChild(o); }