mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Merge pull request #2545 from Vlevo/patch-1
Update ControlBarView.coffee
This commit is contained in:
commit
d5b69cb811
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ module.exports = class ControlBarView extends CocoView
|
||||||
campaign = @level.get 'campaign'
|
campaign = @level.get 'campaign'
|
||||||
@homeLink += '/' + campaign
|
@homeLink += '/' + campaign
|
||||||
@homeViewArgs.push campaign
|
@homeViewArgs.push campaign
|
||||||
|
else if @level.get('type', true) in ['campaign']
|
||||||
|
@homeLink = c.homeLink = '/play-old'
|
||||||
|
@homeViewClass = 'views/MainPlayView'
|
||||||
else
|
else
|
||||||
@homeLink = c.homeLink = '/'
|
@homeLink = c.homeLink = '/'
|
||||||
@homeViewClass = 'views/HomeView'
|
@homeViewClass = 'views/HomeView'
|
||||||
|
|
Loading…
Reference in a new issue