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

Commit 7aa5019

Browse files
runestonetestbnmnetp
authored andcommitted
Move timezone offset to fetch
1 parent 87c8cff commit 7aa5019

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

runestone/common/js/bookfuncs.js

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

0 commit comments

Comments
 (0)