Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions runestone/assess/js/timed.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ Timed.prototype.renderContainer = function () {
Timed.prototype.renderTimer = function () {
this.wrapperDiv = document.createElement("div");
this.timerContainer = document.createElement("P");
this.wrapperDiv.id = "startWrapper";
this.timerContainer.id = "output";
this.wrapperDiv.id = this.divid + "-startWrapper";
this.timerContainer.id = this.divid + "-output";
this.wrapperDiv.appendChild(this.timerContainer);
this.showTime();
};
Expand Down Expand Up @@ -490,8 +490,7 @@ Timed.prototype.checkIfFinished = function () {

Timed.prototype.tookTimedExam = function () {
// Checks if this exam has been taken before

$("#output").css({
$(this.timerContainer).css({
"width": "50%",
"margin": "0 auto",
"background-color": "#DFF0D8",
Expand Down
2 changes: 2 additions & 0 deletions runestone/assess/js/timedmc.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ TimedMC.prototype.checkCorrectTimedMCMA = function () {
this.correct = true;
} else if (this.givenArray.length !== 0) {
this.correct = false;
} else { // question was skipped
this.correct = null;
}
switch (this.correct) {
case (true):
Expand Down
1 change: 1 addition & 0 deletions runestone/dragndrop/css/dragndrop.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@

.draggable-feedback {
text-align: left !important;
clear: both;
}

.draggable-drop {
Expand Down