Commit f4c1a8f2 by Diana Huang

Update the carousel with which step the user is on

parent 35a7b75e
...@@ -175,8 +175,17 @@ $(document).ready(function() { ...@@ -175,8 +175,17 @@ $(document).ready(function() {
$("#confirm_pics_good").change(function() { $("#confirm_pics_good").change(function() {
$("#pay_button").toggleClass('disabled'); $("#pay_button").toggleClass('disabled');
}); });
$("#pay_button_frame").addClass('disabled'); // add in handlers to add/remove the correct classes to the body
// when moving between steps
$('#face_next_button').click(function(){
$('body').addClass('step-photos-id').removeClass('step-photos-cam')
})
$('#photo_id_next_button').click(function(){
$('body').addClass('step-review').removeClass('step-photos-id')
})
var hasHtml5CameraSupport = initVideoCapture(); var hasHtml5CameraSupport = initVideoCapture();
......
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