File tree Expand file tree Collapse file tree
bases/rsptx/interactives/runestone/common/js Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ function addReadingList() {
5151 let assignment_info = JSON . parse ( assignment_info_string ) ;
5252 let assignment_id = assignment_info . id ;
5353 let assignment_name = assignment_info . name ;
54- let reading_names = assignment_info . readings ;
54+ let reading_names = assignment_info . readingNames ;
5555
5656 active = document . createElement ( "div" ) ;
5757 active . textContent = "Active assignment: "
@@ -155,13 +155,15 @@ function addReadingList() {
155155 }
156156
157157 top = document . createElement ( "div" ) ;
158+ top . className = "runestone assigment-nav top-assignment-nav"
158159 top . style . backgroundColor = "var(--componentBgColor)"
159160 top . style . borderColor = "var(--componentBorderColor)"
160161 top . style . borderWidth = "1px"
161162 top . append ( fst ) ;
162163 //top.append(snd);
163164
164165 bottom = document . createElement ( "div" ) ;
166+ top . className = "runestone assigment-nav bottom-assignment-nav"
165167 bottom . style . backgroundColor = "var(--componentBgColor)"
166168 bottom . style . borderColor = "var(--componentBorderColor)"
167169 bottom . style . borderWidth = "1px"
You can’t perform that action at this time.
0 commit comments