This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -259,15 +259,16 @@ Timed.prototype.createRenderedQuestionArray = function () {
259259 // Also adds them to this.renderedQuestionArray
260260 for ( var i = 0 ; i < this . newChildren . length ; i ++ ) {
261261 var tmpChild = this . newChildren [ i ] ;
262+ opts = { 'orig' :tmpChild , 'useRunestoneServices' :eBookConfig . useRunestoneServices }
262263 if ( $ ( tmpChild ) . is ( "[data-component=multiplechoice]" ) ) {
263- this . renderedQuestionArray . push ( new TimedMC ( { "orig" : tmpChild } ) ) ;
264+ this . renderedQuestionArray . push ( new TimedMC ( opts ) ) ;
264265 } else if ( $ ( tmpChild ) . is ( "[data-component=fillintheblank]" ) ) {
265- var newFITB = new TimedFITB ( { "orig" : tmpChild } ) ;
266+ var newFITB = new TimedFITB ( opts ) ;
266267 this . renderedQuestionArray . push ( newFITB ) ;
267268 } else if ( $ ( tmpChild ) . is ( "[data-component=dragndrop]" ) ) {
268- this . renderedQuestionArray . push ( new TimedDragNDrop ( { "orig" : tmpChild } ) ) ;
269+ this . renderedQuestionArray . push ( new TimedDragNDrop ( opts ) ) ;
269270 } else if ( $ ( tmpChild ) . is ( "[data-component=clickablearea]" ) ) {
270- this . renderedQuestionArray . push ( new TimedClickableArea ( { "orig" : tmpChild } ) ) ;
271+ this . renderedQuestionArray . push ( new TimedClickableArea ( opts ) ) ;
271272 }
272273 }
273274 if ( this . random ) {
You can’t perform that action at this time.
0 commit comments