Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 10055dd

Browse files
runestonetestbnmnetp
authored andcommitted
Better use of response detail from new server
1 parent 7aa5019 commit 10055dd

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

runestone/common/js/bookfuncs.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ function addReadingList() {
9999
name: "link",
100100
class: "btn btn-lg ' + 'buttonConfirmCompletion'",
101101
href: nxt_link,
102-
text: `Continue to page ${position + 2
103-
} of ${num_readings} in the reading assignment.`,
102+
text: `Continue to page ${
103+
position + 2
104+
} of ${num_readings} in the reading assignment.`,
104105
});
105106
} else {
106107
l = $("<div />", {
@@ -194,7 +195,7 @@ class PageProgressBar {
194195
if (
195196
val == 100.0 &&
196197
$("#completionButton").text().toLowerCase() ===
197-
"mark as completed"
198+
"mark as completed"
198199
) {
199200
$("#completionButton").click();
200201
}

0 commit comments

Comments
 (0)