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

Commit 56856b2

Browse files
committed
get detail add refrence links
1 parent 3cf96c7 commit 56856b2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

runestone/common/js/user-highlights.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ function decorateTableOfContents() {
170170
) {
171171
var subChapterList;
172172
if (data != "None") {
173-
subChapterList = data;
173+
subChapterList = data.detail;
174174

175175
var allSubChapterURLs = $("#main-content div li a");
176176
$.each(subChapterList, function (index, item) {
@@ -267,6 +267,8 @@ function enableCompletions() {
267267
// call enable user highlights after login
268268
$(document).bind("runestone:login", enableCompletions);
269269

270+
// _ processPageState
271+
// -------------------------
270272
function processPageState(completionFlag) {
271273
/*Log last page visited*/
272274
var currentPathname = window.location.pathname;

0 commit comments

Comments
 (0)