Skip to content

Commit 160007a

Browse files
committed
slightly less ugly heading text
1 parent 1a61da3 commit 160007a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function populate() {
111111
const levelHead = levelSection.querySelector('h2');
112112

113113
for (const plan of plans) {
114-
levelHead.textContent = `${plan.title}: ${getLevelText(level)}`;
114+
levelHead.textContent = `${plan.title}: Level ${level.charAt(1)}`;
115115
const planSect = document.querySelector('#course-plan').content.cloneNode(true).firstElementChild;
116116
levelSection.append(planSect);
117117
planSect.dataset.course = plan.code;

0 commit comments

Comments
 (0)