Skip to content

Commit

Permalink
fix resize
Browse files Browse the repository at this point in the history
  • Loading branch information
sborms committed Nov 11, 2023
1 parent 07ee479 commit 0c5930f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ <h2>Upward trend</h2>

Looking at all the albums, we notice a trend.
The lexical diversity of the albums went up.
Remember, the songs became longer (hence, you'd expect more repetitive), but the conclusion holds.
Remember, the songs became longer, so you'd expect them to become more repetitive but the opposite is true.
</p>
</div>

Expand Down Expand Up @@ -316,7 +316,7 @@ <h2>Romance, oh romance</h2>
<p>
The graph on the right shows the count of the respective word in each album.
<b>Love</b>, <b>heart</b> and <b>eyes</b> are the most popular words.
Which album conjured up wonderful romantic vibe the most?
Which album conjured up wonderful romantic vibes the most?
Let's break it down.
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/scrollama-dispersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function init() {
.onStepEnter(handleStepEnter);

// setup resize event
window.addEventListener("resize", handleResize);
window.addEventListener("resize", function() { handleResize(scroller_dispersion, figure_dispersion, step_dispersion); });
}

// kick things off
Expand Down
2 changes: 1 addition & 1 deletion docs/scrollama-diversity.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ function init() {
.onStepEnter(handleStepEnter);

// setup resize event
window.addEventListener("resize", handleResize);
window.addEventListener("resize", function() { handleResize(scroller_diversity, figure_diversity, step_diversity); });
}

// kick things off
Expand Down
2 changes: 1 addition & 1 deletion docs/scrollama-importance.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function init() {
.onStepEnter(handleStepEnter);

// setup resize event
window.addEventListener("resize", handleResize);
window.addEventListener("resize", function() { handleResize(scroller_importance, figure_importance, step_importance); });
}

// kick things off
Expand Down

0 comments on commit 0c5930f

Please sign in to comment.