From 6fd86904f1b9115c81cf61e3aaa26efb6edb9bee Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Wed, 28 Aug 2013 17:21:38 -0400 Subject: [PATCH] Fix bug where resetting second picture would remove the first --- lms/templates/verify_student/photo_verification.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/verify_student/photo_verification.html b/lms/templates/verify_student/photo_verification.html index ea8d85b74f..3a6ea9841c 100644 --- a/lms/templates/verify_student/photo_verification.html +++ b/lms/templates/verify_student/photo_verification.html @@ -85,7 +85,7 @@ } function reset() { - $('#face_image')[0].src = ""; + image[0].src = ""; video[0].play(); approveButton.removeClass('approved');