update
This commit is contained in:
@@ -377,7 +377,7 @@ var CourseNav = (function (COURSE_CONFIG) {
|
||||
|
||||
const link = document.createElement("a");
|
||||
link.classList.add("coursenav-link");
|
||||
link.textContent = item.title;
|
||||
link.innerHTML = item.title;
|
||||
|
||||
const idx = courseData.contentArray.findIndex((c) => c.content === item.content && c.title === item.title);
|
||||
link.dataset.coursenavindex = idx;
|
||||
|
||||
Reference in New Issue
Block a user