mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Turn off HoC homepage play redirect
This commit is contained in:
parent
b39883209c
commit
9821195ec9
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module.exports = class HomeView extends RootView
|
|||
if @getQueryVariable 'hour_of_code'
|
||||
application.router.navigate "/hoc", trigger: true
|
||||
|
||||
isHourOfCodeWeek = true # Temporary: default to /hoc flow during the main event week
|
||||
isHourOfCodeWeek = false # Temporary: default to /hoc flow during the main event week
|
||||
if isHourOfCodeWeek and (@isNewPlayer() or (@justPlaysCourses() and me.isAnonymous()))
|
||||
# Go/return straight to playing single-player HoC course on Play click
|
||||
@playURL = '/hoc?go=true'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue