Skip to content

Commit 7d8ffc9

Browse files
committed
Simple fixes
1 parent 0dfd572 commit 7d8ffc9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

bases/rsptx/web2py_server/applications/runestone/static/js/peer.js

+5
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,10 @@ async function showPeerEnableVote2() {
440440
let nextStep = document.getElementById("nextStep");
441441
nextStep.innerHTML =
442442
"Please Answer the question again. Even if you do not wish to change your answer. After answering click the button to go on to the next question.";
443+
nextStep.style.color = "red";
444+
let cq = document.getElementById(`${currentQuestion}_feedback`);
445+
cq.style.display = "none";
446+
443447
$(".runestone [type=radio]").prop("checked", false);
444448
$(".runestone [type=checkbox]").prop("checked", false);
445449
studentVoteCount += 1;
@@ -448,6 +452,7 @@ async function showPeerEnableVote2() {
448452
if (checkme.innerHTML === "Check Me") {
449453
checkme.addEventListener("click", function (event) {
450454
studentSubmittedVote2 = true;
455+
cq.style.display = "block";
451456
});
452457
}
453458
}

bases/rsptx/web2py_server/applications/runestone/views/peer/dashboard.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2>Peer Instruction: {{=assignment_name}}</h2>
1818
Group Size
1919
<select id="groupsize" name="groupsize">
2020
<option value="2">2</option>
21-
<option value="3">3</option>
21+
<option value="3" selected>3</option>
2222
<option value="4">4</option>
2323
<option value="5">5</option>
2424
<option value="6">6</option>
@@ -38,7 +38,7 @@ <h2>Peer Instruction: {{=assignment_name}}</h2>
3838
class="btn btn-info"
3939
onclick="makePartners(event)"
4040
>
41-
Enable Discussion
41+
Enable Text Chat
4242
</button>
4343
<button
4444
type="button"

0 commit comments

Comments
 (0)