fix(post): correct hiding

This commit is contained in:
Barrett Ruth 2024-11-10 16:07:22 -05:00
parent 4f64a105c8
commit ddff820d2b

View file

@ -11,7 +11,7 @@ const tagToHeader = new Map([
const makeFold = (h, i) => {
const toggle = document.createElement("span");
toggle.style.fontStyle = "normal";
toggle.textContent = "v";
toggle.textContent = ">";
// only unfold first algorithm problem
if (urlToTopic() === "algorithms" && i === 0) toggle.textContent = "v";