diff --git a/lms/djangoapps/courseware/features/lti.py b/lms/djangoapps/courseware/features/lti.py index 2091ac74cb..58de82ded6 100644 --- a/lms/djangoapps/courseware/features/lti.py +++ b/lms/djangoapps/courseware/features/lti.py @@ -50,7 +50,7 @@ def lti_is_rendered(_step, rendered_in): assert world.is_css_present('.link_lti_new_window') assert not world.is_css_present('.error_message') check_lti_popup() - else: # incorrent rendered_in parametetr + else: # incorrent rendered_in parameter assert False diff --git a/lms/templates/lti.html b/lms/templates/lti.html index ea3d78bbcf..7e6a3eac40 100644 --- a/lms/templates/lti.html +++ b/lms/templates/lti.html @@ -18,7 +18,7 @@ name="ltiLaunchForm-${element_id}" class="ltiLaunchForm" method="post" - target=${"_blank" if open_in_a_new_page else "ltiLaunchFrame-${element_id}"} + target=${"_blank" if open_in_a_new_page else "ltiLaunchFrame-{0}".format(element_id)} encType="application/x-www-form-urlencoded" >