edx/edx-platform — pull request #5901 by wedaly (2014-11-10 17:06:35+00:00)
Title: Logistration: Use href in marketing link if available to make A/B testing easier

We're currently hard-coding the "register user" link the JavaScript on the marketing button iframe. For an A/B test, I'm going to need to rewrite this URL to point to the login page instead of register.

Since we're already writing the "register user" URL to the href of the register button link, I've modified the JS to prefer that href. I can then overwrite the href using JavaScript injected by Optimizely.

@dianakhuang @rlucioni please review.