File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -602,24 +602,20 @@ function loadProjectRequirements(data) {
602
602
let nextArrow = document . querySelector ( '[data-next-image]' )
603
603
604
604
controls . addEventListener ( 'click' , e => {
605
- console . log ( currentIndex ) ;
606
605
if ( e . target === prevArrow ) {
607
-
608
606
if ( currentIndex == 0 ) {
609
607
currentIndex = projectFileData . currentMocks . length - 1 ;
610
608
} else {
611
609
currentIndex -= 1 ;
612
610
}
613
611
}
614
-
615
612
if ( e . target === nextArrow ) {
616
613
if ( currentIndex == projectFileData . currentMocks . length - 1 ) {
617
614
currentIndex = 0 ;
618
615
} else {
619
616
currentIndex ++ ;
620
617
}
621
618
}
622
- ;
623
619
624
620
gallery . innerHTML = '' ;
625
621
let currentMock = projectFileData . currentMocks [ currentIndex ] ;
@@ -986,13 +982,13 @@ function copySlackMessage() {
986
982
}
987
983
if ( toggle_question . classList . contains ( 'active' ) ) {
988
984
gradedData . questionableItems . forEach ( item => {
989
- secretTextarea . value += `:questioned: ${ item . req . textContent } \n> ${ item . text } \n`
985
+ secretTextarea . value += `:questioned: :exceeds: ${ item . req . textContent } \n> ${ item . text } \n`
990
986
} )
991
987
secretTextarea . value += `\n`
992
988
}
993
989
if ( toggle_wrong . classList . contains ( 'active' ) ) {
994
990
gradedData . incorrectItems . forEach ( item => {
995
- secretTextarea . value += `:needs-work: ${ item . req . textContent } \n> ${ item . text } \n`
991
+ secretTextarea . value += `:needs-work: :exceeds: ${ item . req . textContent } \n> ${ item . text } \n`
996
992
} )
997
993
}
998
994
Original file line number Diff line number Diff line change @@ -602,24 +602,20 @@ function loadProjectRequirements(data) {
602
602
let nextArrow = document . querySelector ( '[data-next-image]' )
603
603
604
604
controls . addEventListener ( 'click' , e => {
605
- console . log ( currentIndex ) ;
606
605
if ( e . target === prevArrow ) {
607
-
608
606
if ( currentIndex == 0 ) {
609
607
currentIndex = projectFileData . currentMocks . length - 1 ;
610
608
} else {
611
609
currentIndex -= 1 ;
612
610
}
613
611
}
614
-
615
612
if ( e . target === nextArrow ) {
616
613
if ( currentIndex == projectFileData . currentMocks . length - 1 ) {
617
614
currentIndex = 0 ;
618
615
} else {
619
616
currentIndex ++ ;
620
617
}
621
618
}
622
- ;
623
619
624
620
gallery . innerHTML = '' ;
625
621
let currentMock = projectFileData . currentMocks [ currentIndex ] ;
@@ -986,13 +982,13 @@ function copySlackMessage() {
986
982
}
987
983
if ( toggle_question . classList . contains ( 'active' ) ) {
988
984
gradedData . questionableItems . forEach ( item => {
989
- secretTextarea . value += `:questioned: ${ item . req . textContent } \n> ${ item . text } \n`
985
+ secretTextarea . value += `:questioned: :exceeds: ${ item . req . textContent } \n> ${ item . text } \n`
990
986
} )
991
987
secretTextarea . value += `\n`
992
988
}
993
989
if ( toggle_wrong . classList . contains ( 'active' ) ) {
994
990
gradedData . incorrectItems . forEach ( item => {
995
- secretTextarea . value += `:needs-work: ${ item . req . textContent } \n> ${ item . text } \n`
991
+ secretTextarea . value += `:needs-work: :exceeds: ${ item . req . textContent } \n> ${ item . text } \n`
996
992
} )
997
993
}
998
994
You can’t perform that action at this time.
0 commit comments