Skip to content

Commit

Permalink
remove stickyfill references
Browse files Browse the repository at this point in the history
  • Loading branch information
russellgoldenberg committed Jun 19, 2022
1 parent 5bdd8f1 commit c4e1ab4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
6 changes: 0 additions & 6 deletions docs/sticky-overlay/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,8 @@ <h1 class="intro__hed">Sticky Overlay Example</h1>
figure.select("p").text(response.index + 1);
}

function setupStickyfill() {
d3.selectAll(".sticky").each(function () {
Stickyfill.add(this);
});
}

function init() {
setupStickyfill();

// 1. force a resize on load to ensure proper dimensions are sent to scrollama
handleResize();
Expand Down
9 changes: 1 addition & 8 deletions docs/sticky-side/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,8 @@ <h1 class="intro__hed">Sticky Side Example</h1>
// update graphic based on step
figure.select("p").text(response.index + 1);
}

function setupStickyfill() {
d3.selectAll(".sticky").each(function () {
Stickyfill.add(this);
});
}


function init() {
setupStickyfill();

// 1. force a resize on load to ensure proper dimensions are sent to scrollama
handleResize();
Expand Down

0 comments on commit c4e1ab4

Please sign in to comment.