tailwind fix
This commit is contained in:
13
static/js/timeline.js
Normal file
13
static/js/timeline.js
Normal file
@@ -0,0 +1,13 @@
|
||||
function toggleTimeline(id, dot) {
|
||||
const el = document.getElementById(id);
|
||||
|
||||
if (el.style.display === "none") {
|
||||
el.style.display = "block";
|
||||
dot.textContent = "";
|
||||
dot.classList.remove("collapsed");
|
||||
} else {
|
||||
el.style.display = "none";
|
||||
dot.textContent = "+";
|
||||
dot.classList.add("collapsed");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user