Help button should open "Overview" (Guide) by default

This commit is contained in:
Matt Lott 2016-05-31 10:37:30 -07:00
parent e8f18f08f5
commit fd8f65cadc

View file

@ -68,7 +68,7 @@ module.exports = class LevelGuideView extends CocoView
if @helpVideos.length
startingTab = 0
else
startingTab = _.findIndex @docs, slug: 'intro'
startingTab = _.findIndex @docs, slug: 'overview'
startingTab = 0 if startingTab is -1
# incredible hackiness. Getting bootstrap tabs to work shouldn't be this complex
@$el.find(".nav-tabs li:nth(#{startingTab})").addClass('active')