From 050ad8cd0e81a4a3dd843e6936be987a1fd8c210 Mon Sep 17 00:00:00 2001 From: Amr Abed <3361565+amrabed@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:24:34 -0400 Subject: [PATCH] Fix teaching (#14) --- teaching/index.html | 2 +- teaching/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/teaching/index.html b/teaching/index.html index c58b019..dc87af2 100644 --- a/teaching/index.html +++ b/teaching/index.html @@ -12,7 +12,7 @@

“If you can't explain it simply, you don't understand it well enough”

Teaching Philosophy

-
+

diff --git a/teaching/index.js b/teaching/index.js index c93a30f..d4c206c 100644 --- a/teaching/index.js +++ b/teaching/index.js @@ -33,8 +33,8 @@ function loadCourses(file, id, title) { const chevron = item.append("a") .attr("class", "btn btn-link") - .attr("data-toggle", "collapse") - .attr("data-target", d => "#" + d.id) + .attr("data-bs-toggle", "collapse") + .attr("data-bs-target", d => "#" + d.id) .attr("aria-expanded", "false"); chevron.append("span")