This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -392,11 +392,11 @@ export default class Timed extends RunestoneBase {
392392 $ (
393393 "ul#pageNums > ul > li:eq(" + this . currentQuestionIndex + ")"
394394 ) . addClass ( "active" ) ;
395- if ( $ ( "ul#pageNums > ul > li:eq(" + this . currentQuestionIndex + ")"
396- ) . hasClass ( "flagcolor" ) ) { // checking for class
395+ if ( $ ( "ul#pageNums > ul > li:eq(" + this . currentQuestionIndex + ")"
396+ ) . hasClass ( "flagcolor" ) ) { // checking for class
397397 this . flagButton . innerHTML = "Unflag Question" ; // changes text on button
398398 }
399- else {
399+ else {
400400 this . flagButton . innerHTML = "Flag Question" ; // changes text on button
401401 }
402402 }
@@ -441,11 +441,11 @@ export default class Timed extends RunestoneBase {
441441 $ (
442442 "ul#pageNums > ul > li:eq(" + this . currentQuestionIndex + ")"
443443 ) . addClass ( "active" ) ;
444- if ( $ ( "ul#pageNums > ul > li:eq(" + this . currentQuestionIndex + ")" // checking for flagcolor class
445- ) . hasClass ( "flagcolor" ) ) {
444+ if ( $ ( "ul#pageNums > ul > li:eq(" + this . currentQuestionIndex + ")" // checking for flagcolor class
445+ ) . hasClass ( "flagcolor" ) ) {
446446 this . flagButton . innerHTML = "Unflag Question" ;
447447 }
448- else {
448+ else {
449449 this . flagButton . innerHTML = "Flag Question" ;
450450 }
451451 await this . renderTimedQuestion ( ) ;
@@ -1071,7 +1071,7 @@ export default class Timed extends RunestoneBase {
10711071 correct : this . score ,
10721072 incorrect : this . incorrect ,
10731073 skipped : this . skipped ,
1074- time : this . timeTaken ,
1074+ time_taken : this . timeTaken ,
10751075 } ) ;
10761076 }
10771077 shouldUseServer ( data ) {
You can’t perform that action at this time.
0 commit comments