You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: static/js/peer.js
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,11 @@ function connect(event) {
55
55
if(typeofcurrAnswer==="undefined"){
56
56
messarea.innerHTML=`<h3>You have not answered the question</h3><p>You will not be able to participate in any discussion unless you answer the question.</p>`;
57
57
}else{
58
-
messarea.innerHTML=`<h3>Please Give an explanation for your answer</h3><p>Then discuss your answer with your group members</p>`;
58
+
if(voteNum<2){
59
+
messarea.innerHTML=`<h3>Please Give an explanation for your answer</h3><p>Then discuss your answer with your group members</p>`;
60
+
}else{
61
+
messarea.innerHTML=`<h3>Voting for this question is complete</h3>`;
62
+
}
59
63
}
60
64
if(!eBookConfig.isInstructor){
61
65
window.mcList[
@@ -93,7 +97,8 @@ function connect(event) {
93
97
}
94
98
messarea=document.getElementById("imessage");
95
99
messarea.innerHTML=`<h3>Time to make your 2nd vote</h3>`;
0 commit comments