From 160007a35db7ce7e5ff699d496c6bc0df571e955 Mon Sep 17 00:00:00 2001 From: Matt Dennis Date: Thu, 19 Sep 2024 16:16:22 +0100 Subject: [PATCH] slightly less ugly heading text --- docs/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.js b/docs/index.js index 308fe27..57e110b 100644 --- a/docs/index.js +++ b/docs/index.js @@ -111,7 +111,7 @@ function populate() { const levelHead = levelSection.querySelector('h2'); for (const plan of plans) { - levelHead.textContent = `${plan.title}: ${getLevelText(level)}`; + levelHead.textContent = `${plan.title}: Level ${level.charAt(1)}`; const planSect = document.querySelector('#course-plan').content.cloneNode(true).firstElementChild; levelSection.append(planSect); planSect.dataset.course = plan.code;