Skip to content

Commit

Permalink
Merge pull request #57 from Shane98c/removeResizeListener
Browse files Browse the repository at this point in the history
Remove resize handler since Scrollama handles this internally
  • Loading branch information
chriswhong authored Aug 29, 2024
2 parents 607ad63 + b239b4d commit 9e7367a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions example/bike-philly/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,6 @@
});
});

// setup resize event
window.addEventListener('resize', scroller.resize);

</script>

</body>
Expand Down
3 changes: 0 additions & 3 deletions example/glacier/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,6 @@
});
});

// setup resize event
window.addEventListener('resize', scroller.resize);

</script>

</body>
Expand Down
5 changes: 0 additions & 5 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -479,11 +479,6 @@
insetMap.getSource('boundsSource').setData(bounds);
}



// setup resize event
window.addEventListener('resize', scroller.resize);

</script>

</body>
Expand Down

0 comments on commit 9e7367a

Please sign in to comment.