@@ -403,7 +403,7 @@ export default class DragNDrop extends RunestoneBase {
403403 event : "dragNdrop" ,
404404 act : answer ,
405405 answer : answer ,
406- minHeight : this . minheight ,
406+ min_height : this . minheight ,
407407 div_id : this . divid ,
408408 correct : this . correct ,
409409 correctNum : this . correctNum ,
@@ -454,7 +454,7 @@ export default class DragNDrop extends RunestoneBase {
454454 restoreAnswers ( data ) {
455455 // Restore answers from storage retrieval done in RunestoneBase
456456 this . hasStoredDropzones = true ;
457- this . minheight = data . minHeight ;
457+ this . minheight = data . min_height ;
458458 this . pregnantIndexArray = data . answer . split ( ";" ) ;
459459 this . finishSettingUp ( ) ;
460460 }
@@ -471,7 +471,7 @@ export default class DragNDrop extends RunestoneBase {
471471 this . hasStoredDropzones = true ;
472472 try {
473473 storedObj = JSON . parse ( ex ) ;
474- this . minheight = storedObj . minHeight ;
474+ this . minheight = storedObj . min_height ;
475475 } catch ( err ) {
476476 // error while parsing; likely due to bad value stored in storage
477477 console . log ( err . message ) ;
@@ -488,7 +488,7 @@ export default class DragNDrop extends RunestoneBase {
488488 event : "dragNdrop" ,
489489 act : answer ,
490490 answer : answer ,
491- minHeight : this . minheight ,
491+ min_height : this . minheight ,
492492 div_id : this . divid ,
493493 correct : storedObj . correct ,
494494 } ) ;
@@ -522,7 +522,7 @@ export default class DragNDrop extends RunestoneBase {
522522 var correct = data . correct ;
523523 var storageObj = {
524524 answer : this . pregnantIndexArray . join ( ";" ) ,
525- minHeight : this . minheight ,
525+ min_height : this . minheight ,
526526 timestamp : timeStamp ,
527527 correct : correct ,
528528 } ;
0 commit comments