diff --git a/common/lib/xmodule/xmodule/js/src/sequence/display.coffee b/common/lib/xmodule/xmodule/js/src/sequence/display.coffee index 421f55be2a..38291be2ef 100644 --- a/common/lib/xmodule/xmodule/js/src/sequence/display.coffee +++ b/common/lib/xmodule/xmodule/js/src/sequence/display.coffee @@ -3,8 +3,7 @@ class @Sequence @el = $(element).find('.sequence') @contents = @$('.seq_contents') @id = @el.data('id') - @modx_url = @$('#course_modx_root').text() - @modx_url = @modx_url.substr(1,@modx_url.length-2) # Remove enclosing quotes + @modx_url = @el.data('course_modx_root') @initProgress() @bind() @render parseInt(@el.data('position')) diff --git a/lms/templates/seq_module.html b/lms/templates/seq_module.html index dac4823f37..be0f4902d4 100644 --- a/lms/templates/seq_module.html +++ b/lms/templates/seq_module.html @@ -1,5 +1,4 @@ -
- +