Interactive interface for browsing global, full-resolution satellite imagery
Limit tour start modal to 9 stories
ZachTRicea156d9a9413a
diff --git a/web/js/components/tour/tour-boxes.js b/web/js/components/tour/tour-boxes.jsindex 8ce65d4f5..50953fa6c 100644--- a/web/js/components/tour/tour-boxes.js+++ b/web/js/components/tour/tour-boxes.js@@ -8,7 +8,7 @@ class TourBoxes extends React.Component {return (<div className="tour-box-container"><div className="tour-box-row">- {storyOrder.map(function(storyId, i) {+ {storyOrder.slice(0, 9).map(function(storyId, i) {let story = stories[storyId];return (<TourBox key={i} index={i} story={story} storyId={story.id} title={story.title} description={story.description} backgroundImage={story.backgroundImage} backgroundImageHover={story.backgroundImageHover} selectTour={selectTour} className={'tour-box ' + story.type}/>);})}