Skip to content

Commit

Permalink
embed.js: Update name for host div (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Sep 21, 2024
1 parent e579b03 commit e32f250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Framer } from "js/framer/index.mjs";
import { each, onLoad } from "./utils/dom-utils.js";

onLoad(() => {
each("[data-spl-interactive=viz-redistricting-2020]", (el) => {
each("[data-spl-interactive=viz-sample-ballot-2024]", (el) => {
// Bail if we were already attached or old JS
if (el.shadowRoot || !("attachShadow" in el)) {
return;
Expand Down

0 comments on commit e32f250

Please sign in to comment.