diff --git a/lms/templates/courseware/course_about.html b/lms/templates/courseware/course_about.html index 0c95a3cf8e..e4a453133d 100644 --- a/lms/templates/courseware/course_about.html +++ b/lms/templates/courseware/course_about.html @@ -42,9 +42,9 @@ ).css("display", "block"); } }); - + %else: - + $('#class_enroll_form').on('ajax:complete', function(event, xhr) { if(xhr.status == 200) { location.href = "${reverse('dashboard')}"; @@ -58,8 +58,8 @@ }); %endif - - + + })(this) @@ -219,10 +219,10 @@