Commit a111a44d by ichuang

when MITX_FEATURES['DISABLE_LOGIN_BUTTON'] then show_signup_immediately should still work

parent 9b7dd919
......@@ -14,7 +14,7 @@
<section class="actions">
<div class="main-cta">
<a href="#signup-modal" class="find-courses" rel="leanModal">Sign Up</a>
<a href="#signup-modal" id="signup_action" class="find-courses" rel="leanModal">Sign Up</a>
</div>
<div class="secondary-actions">
......@@ -148,7 +148,7 @@
% if show_signup_immediately is not UNDEFINED:
<script type="text/javascript">
function dosignup(){
comp = document.getElementById('signup');
comp = document.getElementById('signup_action');
try { //in firefox
comp.click();
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment