Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homepage: fix last action block #25989

Merged
merged 1 commit into from Nov 12, 2018
Merged

Conversation

breville
Copy link
Member

There were two problems with the final action block switching between "dance" and "mc" modes:

  • Only one of them needed to go to a studio.code.org URL
  • The function was caching its result, and so a change of the DCDO "hoc_launch" flag wasn't actually leading to a new block upon page refresh

There were two problems with the final action block switching between "dance" and "mc" modes:

- Only one of them needed to go to a studio.code.org URL
- The function was caching its result, and so a change of the DCDO "hoc_launch" flag wasn't actually leading to a new block upon page refresh
Copy link
Contributor

@maddiedierker maddiedierker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for this! i'm going to close #25987 since you also fixed the caching issue here

@maddiedierker
Copy link
Contributor

heads up @breville that i'm going to merge this for you so it can go out today (and you're probably sleeping)!

@maddiedierker maddiedierker merged commit da2ce10 into staging Nov 12, 2018
@maddiedierker maddiedierker deleted the homepage-fix-dance-link branch November 12, 2018 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants