diff --git a/xmodule/lti_block.py b/xmodule/lti_block.py index 7705a7321bd9..a463da79ef0b 100644 --- a/xmodule/lti_block.py +++ b/xmodule/lti_block.py @@ -383,7 +383,6 @@ def studio_view(self, _context): fragment = Fragment( self.runtime.service(self, 'mako').render_cms_template(self.mako_template, context) ) - add_sass_to_fragment(fragment, 'LTIBlockEditor.scss') add_webpack_js_to_fragment(fragment, 'LTIBlockEditor') shim_xmodule_js(fragment, self.studio_js_module_name) return fragment @@ -499,6 +498,7 @@ def student_view(self, _context): """ fragment = Fragment() fragment.add_content(self.runtime.service(self, 'mako').render_lms_template('lti.html', self.get_context())) + add_sass_to_fragment(fragment, 'LTIBlockDisplay.scss') add_webpack_js_to_fragment(fragment, 'LTIBlockDisplay') shim_xmodule_js(fragment, 'LTI') return fragment