Showing
1 changed file
with
3 additions
and
2 deletions
@@ -422,10 +422,11 @@ exports.init = function(page) { | @@ -422,10 +422,11 @@ exports.init = function(page) { | ||
422 | $('#agree-terms').click(function() { | 422 | $('#agree-terms').click(function() { |
423 | if ($(this).attr('notchecked')) { | 423 | if ($(this).attr('notchecked')) { |
424 | $(this).removeAttr('notchecked'); | 424 | $(this).removeAttr('notchecked'); |
425 | + $registerBtn.addClass('disable').attr('disabled', 'true'); | ||
425 | } else { | 426 | } else { |
426 | $(this).attr('notchecked', 'true'); | 427 | $(this).attr('notchecked', 'true'); |
428 | + $registerBtn.removeClass('disable').removeAttr('disabled'); | ||
427 | } | 429 | } |
428 | - | ||
429 | }); | 430 | }); |
430 | 431 | ||
431 | $registerPage.find('.va').keyup(function() { | 432 | $registerPage.find('.va').keyup(function() { |
@@ -602,4 +603,4 @@ exports.init = function(page) { | @@ -602,4 +603,4 @@ exports.init = function(page) { | ||
602 | 603 | ||
603 | $captchaImg.attr('src', captchaImgSrc + '?t=' + time.getTime()); | 604 | $captchaImg.attr('src', captchaImgSrc + '?t=' + time.getTime()); |
604 | }); | 605 | }); |
605 | -}; | ||
606 | +}; |
-
Please register or login to post a comment