diff --git a/example/bike-philly/index.html b/example/bike-philly/index.html index 41005e4..877585e 100644 --- a/example/bike-philly/index.html +++ b/example/bike-philly/index.html @@ -328,9 +328,6 @@ }); }); -// setup resize event -window.addEventListener('resize', scroller.resize); - diff --git a/example/glacier/index.html b/example/glacier/index.html index 5f36da6..97f3043 100644 --- a/example/glacier/index.html +++ b/example/glacier/index.html @@ -327,9 +327,6 @@ }); }); -// setup resize event -window.addEventListener('resize', scroller.resize); - diff --git a/src/index.html b/src/index.html index e503a61..a7d3f97 100644 --- a/src/index.html +++ b/src/index.html @@ -479,11 +479,6 @@ insetMap.getSource('boundsSource').setData(bounds); } - - -// setup resize event -window.addEventListener('resize', scroller.resize); -