diff --git a/runestone/assess/js/timed.js b/runestone/assess/js/timed.js index d82360933..d9b232029 100644 --- a/runestone/assess/js/timed.js +++ b/runestone/assess/js/timed.js @@ -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(); }; @@ -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", diff --git a/runestone/assess/js/timedmc.js b/runestone/assess/js/timedmc.js index 43b406d38..e85874f2e 100644 --- a/runestone/assess/js/timedmc.js +++ b/runestone/assess/js/timedmc.js @@ -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): diff --git a/runestone/dragndrop/css/dragndrop.css b/runestone/dragndrop/css/dragndrop.css index 1afa87813..55621a417 100644 --- a/runestone/dragndrop/css/dragndrop.css +++ b/runestone/dragndrop/css/dragndrop.css @@ -47,6 +47,7 @@ .draggable-feedback { text-align: left !important; + clear: both; } .draggable-drop {